Commit Graph

12 Commits

Author SHA1 Message Date
Gregory Nutt
181875f3ba fs/vfs: Add new internal OS interface nx_read(). nx_read() is functionally equivalent to read() except that it does not modify the errno variable and it is not a cancellation point. Changed all references to read() in the OS to nx_read(). 2017-10-11 12:13:41 -06:00
Gregory Nutt
56e8f480f5 Remove dangling whitespace at the end of some lines. 2017-06-28 10:39:54 -06:00
Gregory Nutt
e9bd8bceb4 nuttx/libc: Fix some spacing and alignment issues 2015-10-12 07:45:02 -06:00
Gregory Nutt
718d4d23ad Add asctime(), asctime_r(), ctime(), and ctime_r(). 2015-06-12 11:52:49 -06:00
Gregory Nutt
f087e35676 A little localtime clean-up 2015-04-14 10:46:05 -06:00
Gregory Nutt
c23610994c libc/time/lib_localtime.c: Move tzset(); it belongs in the Public Functions grouping 2015-04-14 08:12:45 -06:00
Gregory Nutt
8a023fec09 localtime: Default zoneinfo directory is /etc/zoneinfo instead of /usr/local/etc/zoneinfo which results in a longer pathname than the default 32 characer MAX 2015-04-11 13:11:10 -06:00
Gregory Nutt
858e33d974 Localtime: Configuration name inconsiste: CONFIG_LIBC_TZ_DIR vs CONFIG_LIBC_TZDIR 2015-04-11 12:48:18 -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
f60ff46646 Remove libc/time/tzfile.h; content moved inside of libc/time/lib_localtime.c 2014-08-15 15:59:57 -06:00
Gregory Nutt
96bc77fb93 libc/time/lib_localtime.c is much closer to NuttX coding style. libc/time/private.h removed; incorporated into lib_localtime.c 2014-08-15 15:38:37 -06:00
Gregory Nutt
7025465109 Adds support for localtime. From Max Neklyudov 2014-08-12 06:18:22 -06:00