summaryrefslogtreecommitdiff
path: root/nuttx/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORKGregory Nutt2014-10-118-25/+25
|
* Decouple the user-space work queue from the kernel space work queuesGregory Nutt2014-10-118-185/+15
|
* Make building of low-priority work queue independent of also building the ↵Gregory Nutt2014-10-111-1/+0
| | | | high-priority work queue
* Add Kconfig support to select the number of low-priority worker threadGregory Nutt2014-10-101-0/+15
|
* Add support for multiple low-priority worker threadsGregory Nutt2014-10-105-18/+28
|
* User-mode work queue logic should not disable interruptsGregory Nutt2014-10-109-316/+513
|
* Add support for delays of different durations in work queue processingGregory Nutt2014-10-105-32/+49
|
* Minor changes to work queue timing logicGregory Nutt2014-10-102-6/+55
|
* Modularize starting of worker threads to better isolate individual ↵Gregory Nutt2014-10-103-118/+49
| | | | initialization characteristics
* Decoupling work queue data structures. This is part of the preparation to ↵Gregory Nutt2014-10-106-43/+194
| | | | support multiple low-priority worker threads
* Repartition work queue code. Move kernel-specific parts from libc/wqueue to ↵Gregory Nutt2014-10-103-127/+124
| | | | sched/wqueue
* libc/aio/aio.h is empty, but add some protection anyway in case it is ever ↵Gregory Nutt2014-10-091-0/+3
| | | | used in the future
* Update comments and function headersGregory Nutt2014-10-093-1/+64
|
* Move syslog back to libc/syslog from fs/syslogGregory Nutt2014-10-097-0/+656
|
* Backing out some logic: Remove syslog functions from syscallsGregory Nutt2014-10-091-0/+5
|
* Passing va_list in syscall does not work. Temporarily moved syslog and ↵Gregory Nutt2014-10-085-252/+0
| | | | lowsyslog into kernel code and access via a system call. Need to revisit. Will probably need to move all of syslog back from fs/syslog to libc/syslog
* Add syslog system callsGregory Nutt2014-10-081-1/+0
|
* Implement setlogmask(); move some syslog logic from libc/syslog to fs/syslogGregory Nutt2014-10-088-409/+25
|
* Move syslog logic from libc/misc and libc/stdio to libc/syslogGregory Nutt2014-10-0811-79/+234
|
* Misc changes to get a clean build after all of the syslog changes. There ↵Gregory Nutt2014-10-082-2/+2
| | | | are probably other things still broken