Commit Graph

155 Commits

Author SHA1 Message Date
Gregory Nutt 59846a8fe9 snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen 2014-05-30 08:53:43 -06:00
Gregory Nutt 2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt 972c4cbab5 Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -06:00
Gregory Nutt 3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt 890beea0b6 Remove dangling white space at the end of the line 2014-04-13 13:26:55 -06:00
Gregory Nutt f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt 494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt 303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt 2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt ed294643bd sscanf: Use stroul() vs strol() for %u format. From kfrolov 2014-04-02 09:15:40 -06:00
Gregory Nutt 68025784b0 Fix ftell() bug: It was not accounting for data buffered in memory. From Macs N 2014-03-31 09:47:28 -06:00
Gregory Nutt cd135fe3a8 Complete fragmentary support for ferror(). From Macs N 2014-03-31 09:39:10 -06:00
Gregory Nutt 6bb8cc02df sscanf(): Was returning the wrong number of conversions in many cases; Also, needs to return EOF if there were no conversions 2014-03-30 14:24:38 -06:00
Gregory Nutt e6bd002d68 Use get_errno() instead of errno because I may do something different if used inside the OS 2014-03-30 11:33:47 -06:00
Gregory Nutt a0b330bd92 strncpy would fail if n==0 2014-03-28 15:17:43 -06:00
Gregory Nutt 29a4ca8f08 configs/rgmp/arm/default: Configuration converted to use the kconfig-frontends tools 2014-03-06 11:19:05 -06:00
Gregory Nutt a84a421248 Ooops... I left out a semicolon in the last sscanf() commit 2014-02-18 15:38:44 -06:00
Gregory Nutt 927ec9c792 sscanf() bug fixes from David Sidrane 2014-02-18 14:14:07 -06:00
Gregory Nutt 91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt e10ab85d1d More changes to restore the native Windows build 2014-02-07 10:14:11 -06:00
Gregory Nutt a5b8755bea Add a patch to work around the bug in the ZDS-II 5.0.1 toolchain 2014-01-24 11:58:30 -06:00
Gregory Nutt 297896fe0e getopt(): Could leave optind in undefined state if argc == 1 2014-01-20 13:13:36 -06:00
Gregory Nutt e340fdb88c Minor documentation updates and other cosmetic changes 2014-01-20 13:10:30 -06:00
Gregory Nutt be14ee1f95 Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong 2014-01-16 08:03:26 -06:00
Gregory Nutt 803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt 46a94ce6c5 Cosmetic clean-up in preparation for TCP write buffering change 2014-01-13 08:21:18 -06:00
Gregory Nutt 25fd6d1904 NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line 2014-01-10 15:23:26 -06:00
Gregory Nutt 752068073a Forgot to add stpcpy.c in last commit 2014-01-10 07:09:59 -06:00
Gregory Nutt 4e2c140124 Add stpcpy() 2014-01-09 14:08:48 -06:00
Gregory Nutt a0808e7b6d Minor fixes to lib_fgets() typing 2014-01-08 11:24:28 -06:00
Gregory Nutt 0bdee120a1 Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets() 2014-01-08 10:47:34 -06:00
Gregory Nutt e3b12cbaa9 Add x qualifier to fopen to support exlusive open 2014-01-07 17:18:38 -06:00
Gregory Nutt c5f9b8768e Add type rsize_t and function gets_s() 2014-01-07 16:27:45 -06:00
Gregory Nutt 53ce920eae Add FAR to a couple of functions. The Z16F cares about such things 2014-01-02 12:36:20 -06:00
Gregory Nutt a1f8bd0f58 The user-mode work queue was not being started 2013-12-31 12:48:11 -06:00
Gregory Nutt 90b269568b Fix some minor kernel mose NxWM build issues 2013-12-30 14:09:58 -06:00
Gregory Nutt a457105a0b Move the NX components out of libc and into its own library, libnx 2013-12-28 08:40:03 -06:00
Gregory Nutt 090a18f863 Decoupling NX user interfaces to support NX kernel build (phase 5) 2013-12-27 16:30:18 -06:00
Gregory Nutt ae29bcb5ab Decoupling NX user interfaces to support NX kernel build (phase 4) 2013-12-27 15:51:26 -06:00
Gregory Nutt 1e690c5a49 Decoupling NX user interfaces to support NX kernel build (phase 3) 2013-12-27 14:49:40 -06:00
Gregory Nutt 425d0cccaf Decoupling NX user interfaces to support NX kernel build (phase 2) 2013-12-27 14:30:13 -06:00
Gregory Nutt 2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt c4380b5a8f ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time. 2013-12-16 08:26:07 -06:00
Gregory Nutt 46b77e2544 Support /proc/uptime 2013-12-14 10:34:08 -06:00
Gregory Nutt 7aff059fd0 Move sleep() and usleep() from sched/ to libc/unistd/. These functions now are simple wrappers for nanosleep(). Remove sleep() and usleep() from system calls; add nanosleep() to system calls 2013-12-13 07:57:13 -06:00
Gregory Nutt 2e8b0d97e2 strftime should also return zero if the resulting string is truncated and/or not properly NUL terminated 2013-12-12 18:03:04 -06:00
Gregory Nutt 2fac3de49e strftime(): Need null-termination on generated string. From Max Holtzberg 2013-12-12 17:41:07 -06:00
Gregory Nutt 33a3bb0e37 Pattern matching logic extended by Ken Pettit 2013-12-12 08:40:54 -06:00
Gregory Nutt bdf1ad69d6 libc logic should not directly assign errno, but should use set_errno() macro. This is because in the kernel build, errno is a system call 2013-12-11 14:54:22 -06:00
Gregory Nutt 692b087d07 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00