Commit Graph

70 Commits

Author SHA1 Message Date
Gregory Nutt
bbc16f9aea libc/Kconfig: Correct an error in variable type 2017-01-09 11:15:06 -06:00
Author: Aleksandr Vyhovanec
7be1b86a81 Add scansets to the scanf function. Enabled CONFIG_LIBC_SCANSET option. 2016-12-17 14:39:19 -06:00
Gregory Nutt
7c4e3e21b8 Allow option to enable IP address conversions even when the IP address family is not supported. 2016-12-04 09:06:08 -06:00
Alan Carvalho de Assis
4d39b513b5 Add functions wcrtomb, wcslcpy, wcsxfrm, wctob, wctomb, wctype, localeconv, strcoll, strxfrm 2016-10-18 18:15:54 -06:00
Alan Carvalho de Assis
5354bc1dc7 Add wcslen, wmemchr, wmemcmp, wmemcpy and wmemset to NuttX 2016-10-17 16:02:08 -06:00
Gregory Nutt
6a58f046e6 CONFIG_LIBC_DIFFTIME is no longer used, but was still in Kconfig file. Noted by Sebastien Lorquet 2016-08-25 08:09:23 -06:00
Sebastien Lorquet
a626ba5b70 libc/time: This commit adds the difftime() function. Since the function returns a double, I have isolated it in a CONFIG_LIBC_DIFFTIME option (It also depends on the toolchain-dependent CONFIG_HAVE_DOUBLE so is not available on tiny platforms). 2016-08-24 15:43:57 -06:00
Gregory Nutt
bde90de12f Fix libc/zoneinfo build 2016-06-30 16:20:43 -06:00
Gregory Nutt
aa96a1d2ec Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo 2016-06-30 15:40:37 -06:00
Gregory Nutt
2a19e16eb0 libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
Paul A. Patience
9587c551ad libc/misc: add crc64 2016-06-10 11:03:50 -04:00
Gregory Nutt
24468128de TLS: Simplify 2016-03-11 07:17:32 -06:00
Gregory Nutt
2a5c7e9a92 resolv.conf: Add support for OpenBSD style resolv.conf syntax where a non-standard DNS server port can be specified using a backet syntax. 2016-01-14 17:55:53 -06:00
Gregory Nutt
300d34f029 netdb: resolv.conf logic is functional 2016-01-14 15:12:42 -06:00
Gregory Nutt
0889963b50 resolv.conf: Fix some basic compilation issues. Logic still not complete. 2016-01-14 08:32:20 -06:00
Gregory Nutt
8e9f884eb7 Step 1 in /etc/resolv.conf support 2016-01-13 15:06:44 -06:00
Gregory Nutt
6fc449f689 Moving canned_symtab from nuttx/libc to apps/system 2015-08-23 11:33:29 -06:00
Pavel Pisa
81a257eeb0 Optional canned symtab inclusion to the build. When option CONFIG_LIBC_SYMTAB is selected and symbol table file libc/symtab/canned_symtab.inc is prepared then application can use system provided complete symbol table. The option has substantial effect on system image size. Mainly code/text. If loading of applications at runtime is not planned do not select this. From Pavel Pisa. 2015-08-23 08:38:58 -06:00
Gregory Nutt
95424d9ef3 NETDB: Add support for caching DNS name resultion mappings 2015-07-13 10:41:32 -06:00
Gregory Nutt
fcaac468b1 NETDB: Make sure that we have a valid DNS server address before attempting DNS queuries; Provide an optional default DNS server address in the configuration 2015-07-13 08:19:31 -06:00
Gregory Nutt
835878b003 This completes all interface level support for IPv6 DNS. Still some missing logic at the lowest protocol levels 2015-07-12 13:45:52 -06:00
Gregory Nutt
7dec298ef3 gethostbyname() will not attempt a DNS lookup if so enabled 2015-07-10 13:30:09 -06:00
Gregory Nutt
4102470bdd Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning 2015-07-10 12:11:40 -06:00
Gregory Nutt
1b1e34e1d5 libc: Add gethostbyname(). Untested on initial commit 2015-07-08 13:40:52 -06:00
Gregory Nutt
342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
fce87336a4 Add an option to disable support for long long formats in lib_vsprintf. From Alan Carvalho de Assis 2015-05-30 10:00:54 -06:00
Gregory Nutt
823889b214 Update comments and README 2015-04-15 16:25:38 -06:00
Gregory Nutt
13bd65fe82 configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info 2015-04-15 11:00:40 -06:00
Gregory Nutt
f087e35676 A little localtime clean-up 2015-04-14 10:46:05 -06:00
Gregory Nutt
7a745c3fa4 Use common macro(s) for calculating link layer header length. From Brennan Ashton. 2015-04-13 13:53:13 -06:00
Gregory Nutt
3d6161a7aa Update some comments 2015-04-13 07:39:56 -06:00
Gregory Nutt
814aa94b0d Update comments in a Kconfig file 2015-04-12 09:21:31 -06:00
Gregory Nutt
237e1ed407 Local time support is now EXPERIMENTAL 2015-04-12 07:57:16 -06:00
Gregory Nutt
5a110d08d9 Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC 2015-04-11 12:13:18 -06:00
Gregory Nutt
190c9adef0 Implements CONFIG_TIME_EXTENDED as we discussed relative to providing the last 3 members of the tm struct and support for filling them in and even using the wday in the STM32 RTC. From David Sidrane. 2015-04-08 06:56:43 -06:00
Gregory Nutt
7ad7163bd3 Updated comments 2014-11-29 17:39:40 -06:00
Gregory Nutt
1a22ede31c Add some comments 2014-11-29 10:59:41 -06:00
Gregory Nutt
e31d5125ae Add support for a variadic ioctl() function. The ioctl() interface is a non-standard, Unix interface. NuttX has always used the older, three-parameter version. Most contemporary systems now, however, use a variadic form of the ioctl() function. Added an option to insert a shim layer to adapt the three-parameter ioctl() to use the variadic interface form. Internally, the ioctl handling is the same three-parameter logic. The only real complexity to the shim is in how the system calls must be handled. 2014-11-29 10:53:22 -06:00
Gregory Nutt
787cd466d2 Add tmpnam() and tempnam() 2014-11-05 10:43:17 -06:00
Gregory Nutt
179fabb019 Add description of work queues to the porting guide. Update comments 2014-10-14 10:21:18 -06:00
Gregory Nutt
b78fe7c270 Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK 2014-10-11 15:59:40 -06:00
Gregory Nutt
9292e3d9de Decouple the user-space work queue from the kernel space work queues 2014-10-11 15:50:22 -06:00
Gregory Nutt
bb1d91bd83 Make building of low-priority work queue independent of also building the high-priority work queue 2014-10-11 14:43:24 -06:00
Gregory Nutt
743abd7155 Add Kconfig support to select the number of low-priority worker thread 2014-10-10 16:38:19 -06:00
Gregory Nutt
cf59a195ba User-mode work queue logic should not disable interrupts 2014-10-10 14:52:04 -06:00
Gregory Nutt
16a3e83258 Add support for delays of different durations in work queue processing 2014-10-10 13:21:37 -06:00
Gregory Nutt
7f36c4e97b Update some Kconfig comments; Add a upper limit on the lower priority worker thread for priority inheritance 2014-10-07 17:11:26 -06:00
Gregory Nutt
d7843c8e24 Add support for priority inheritance on the low priority worker queue 2014-10-07 07:41:52 -06:00
Gregory Nutt
f73a18ae39 Move all file operations from libc/aio to fs/aio. These will need to be kernel routines in order to handler issues with using file descriptors on worker thread 2014-10-05 15:33:31 -06:00
Gregory Nutt
e8cef249cc Initial implementation of aio_write() 2014-10-04 17:30:24 -06:00