summaryrefslogtreecommitdiff
path: root/nuttx/libc
Commit message (Collapse)AuthorAgeFilesLines
* Make some file section headers more consistent with standardGregory Nutt2015-04-0863-63/+63
|
* Fix some coding style inconsistenciesGregory Nutt2015-04-081-4/+7
|
* Implements CONFIG_TIME_EXTENDED as we discussed relative to providing the ↵Gregory Nutt2015-04-084-8/+133
| | | | 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.
* libc: stdio: Fix NULL pointer dereference in ungetc(). If 'stream' was NULL, ↵Gregory Nutt2015-03-121-2/+9
| | | | 'stream->fs_oflags' was evaluated. From Juha Niskanen
* sfrtime: Missing implementation of %C (was being treated as %y). From ↵Gregory Nutt2015-02-231-2/+6
| | | | Freddie Chopin
* Some files that now include sys/time.h should no longer include timer.hGregory Nutt2015-02-151-1/+4
|
* Move struct timveval from include/time.h to include/sys/time.h where it belongs.Gregory Nutt2015-02-152-2/+0
|
* Cosmetic updates to commentsGregory Nutt2015-02-121-0/+1
|
* Update ChangeLogGregory Nutt2015-02-121-1/+1
|
* gettimeofday() and settimeofday(): Move gittimeofdady() from sched/clock to ↵Gregory Nutt2015-02-124-20/+199
| | | | | | libc/time. All remove gettimeofday() from NuttX system calls. It is only a wrapper around clock_settime() and does not need a trap. gettimeofday() is no longer tried as a core OS interface. gettimeofday has been decremented in POSIX 2008. settimeofday() was never part of POSIX, but I decided to add it to libc as well just for symmetry.
* Some extensions to netinet/in.h adding some Linux compatible defintions. ↵Gregory Nutt2015-02-112-2/+52
| | | | From Macs N.
* Oop.. forgot a semicolon in a preceding commitGregory Nutt2015-02-091-1/+1
|
* execl(): Fix bad logic in counting the number of arguments. This could ↵Gregory Nutt2015-02-091-11/+20
| | | | never have worked. Noted by Pierre-noel Bouteville
* Fix backward calculation in the work queue timing. From Liio Chen via the ↵Gregory Nutt2015-01-271-5/+13
| | | | PX4 repository
* Add math library support for trunc functions. From Brennan Ashton.Gregory Nutt2015-01-264-0/+248
|
* CosmeticGregory Nutt2015-01-263-0/+3
|
* Add math library support for copysign. From Brennan AshtonGregory Nutt2015-01-264-3/+178
|
* Add error function to math library. From Brennan Ashton.Gregory Nutt2015-01-264-3/+217
|
* Add support for inverse hyperbolic functions. From Brennan AshtonGregory Nutt2015-01-2610-3/+483
|
* Networking: Misck IPv6 detanglementGregory Nutt2015-01-154-109/+248
|
* sscanf should also support %FGregory Nutt2014-12-121-1/+1
|
* sscanf: Accept %X as well as %x as a format specifier. From Sébastien LorquetGregory Nutt2014-12-121-0/+1
|
* Cosmetic change to force compliance with coding standardGregory Nutt2014-12-121-1/+5
|
* strncpy: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08 will trash a lot of ↵Gregory Nutt2014-12-111-1/+1
| | | | memory if n == 0. From Hiro
* Add CRC8 support. From Ken PettitGregory Nutt2014-12-092-1/+142
|
* avsprintf(): Fix a bug in usage of va_list on x86. On x86, va_list is a ↵Gregory Nutt2014-12-081-3/+30
| | | | pointer to a single copy on the stack. avsprintf() calls lib_vsprintf() twice and so traverses the va_list twice using va_start. va_start modifies that single copy on the stack so that the second call to lib_vsprintf() fails. This appears to be an issue with x86 only so far
* Traveler: Change the way that the world path is managed.Gregory Nutt2014-12-081-1/+1
|
* Updated commentsGregory Nutt2014-11-292-5/+30
|
* Update some Documentation and comments associated with the last ioctl changeGregory Nutt2014-11-291-2/+2
|
* Add some commentsGregory Nutt2014-11-292-2/+10
|
* Add support for a variadic ioctl() function. The ioctl() interface is a ↵Gregory Nutt2014-11-293-0/+137
| | | | 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.
* Another fix misthink in big cppcheck changedGregory Nutt2014-11-251-1/+1
|
* More fixes to problems noted by cppcheck. Some are kind of risky; some are ↵Gregory Nutt2014-11-252-1/+2
| | | | real bugs.
* More fixes to problems noted by cppcheck. Some are kind of risky; some are ↵Gregory Nutt2014-11-254-6/+6
| | | | real bugs.
* Fix some compile errors introduce in last commitsGregory Nutt2014-11-131-1/+3
|
* execl(): Don't allocate or free and argv[] list if there are not argumentsGregory Nutt2014-11-131-17/+24
|
* execl() no longer depends on CONFIG_MAX_TASK_ARGSGregory Nutt2014-11-121-8/+45
|
* The definition of strncpy() is that empty space should be zero-filled, the ↵Gregory Nutt2014-11-121-1/+2
| | | | patch adds the zero filling (I didn’t know this, see e.g. the POSIX spec here: http://pubs.opengroup.org/onlinepubs/7908799/xsh/strncpy.html). From Lorenz Meier.
* From Lorenz Meier: The implementation of access() as vararg macro has the ↵Gregory Nutt2014-11-112-1/+94
| | | | issue that any function call with the same name (even in a C++ class) will match with it and result in a compile error. I have replaced it with a small function, and tried to have decent documentation as well. This resolves the compile issue, and shouldn’t have negative side effects for users of the function.
* EFM32: Fix issues associated with SPI bi order. From PierreGregory Nutt2014-11-091-1/+1
|
* Can't use formal parameter name 'template' in stdlib.h. Causes C++ ↵Gregory Nutt2014-11-062-16/+16
| | | | compilation errors. Noted by Lorenz Meier
* Add tmpnam() and tempnam()Gregory Nutt2014-11-052-0/+200
|
* Add tmpnam() and tempnam()Gregory Nutt2014-11-052-0/+25
|
* Add mktemp() and mkstemp()Gregory Nutt2014-11-053-0/+382
|
* Add optional timestamp to syslog output. From pn_bouteville@yahoo.frGregory Nutt2014-11-011-10/+55
|
* SAM3/4: Fix error serial TERMIOS ioctl handlingGregory Nutt2014-10-301-0/+1
|
* Add isatty() function. From Alan Carvalho de AssisGregory Nutt2014-10-272-2/+73
|
* Add description of work queues to the porting guide. Update commentsGregory Nutt2014-10-141-2/+2
|
* Fix error in protected build, user-mode work queueGregory Nutt2014-10-121-13/+9
|
* Fix some compiler errors in user-work queue configuration that crept in the ↵Gregory Nutt2014-10-114-6/+3
| | | | last bunch of commits