Gregory Nutt
|
4f5879f998
|
C library: Add ffs(). Add strings.h. Move strcasecmp, strncasecmp, bzero, bcmp, and bcopy to where they belong in strings.h.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
|
2017-02-16 16:10:09 -06:00 |
Gregory Nutt
|
4ed3ae19d7
|
Add file that I forgot to add in last commit. Move libc/stdlib/lib_imaxabs.c to inittypes/.
|
2017-02-16 14:54:35 -06:00 |
Gregory Nutt
|
67feda60b2
|
libc/Kconfig: Use menus vs. comments to better organize the C library menus
|
2017-02-10 10:04:56 -06:00 |
Gregory Nutt
|
de1b68dc4e
|
libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory.
|
2017-02-10 09:32:55 -06:00 |
Juha Niskanen
|
b7ed12ebd3
|
Patch brings strtol() and related functions more conformant with POSIX. Corner cases like strtol(-2147483648, NULL, 10) now pass clang -fsanitize=integer without warnings.
|
2016-11-10 06:18:42 -06:00 |
Gregory Nutt
|
d08596a653
|
libc/stdlib: Fix a few minor coding style issues
|
2016-10-22 13:27:56 -06:00 |
Gregory Nutt
|
41137b82fa
|
Add strtold()
|
2016-10-22 13:02:55 -06:00 |
Gregory Nutt
|
9438c42fff
|
strtof: Also make sure that all integer values use in expressions are cast to float
|
2016-10-20 13:06:55 -06:00 |
Gregory Nutt
|
e30a47ba46
|
libc: Make sure that all constant floating point values have F suffix in strtof()
|
2016-10-20 13:03:15 -06:00 |
Gregory Nutt
|
2b22666554
|
Forgot to add a file before the last commit
|
2016-10-20 12:57:27 -06:00 |
Gregory Nutt
|
30ab01b1d8
|
strtof: Add strtof() as simply a compy of strtod with types and limits changed
|
2016-10-20 12:07:12 -06:00 |
Gregory Nutt
|
890a9eb45d
|
Fix a few wide character build issues
|
2016-10-18 19:11:09 -06:00 |
Gregory Nutt
|
155055d564
|
strtod(): Was not returning endptr on error conditions.
|
2016-08-11 18:20:25 -06:00 |
Gregory Nutt
|
7370d3171a
|
Move include/nuttx/lib.h to include/nuttx/lib/lib.h
|
2016-07-21 14:05:44 -06:00 |
Gregory Nutt
|
5a35abb488
|
Improve some comments
|
2016-07-17 08:31:02 -06:00 |
Gregory Nutt
|
07e20479ad
|
/dev/random: Add configuration option to use the congruential PRNG.
|
2016-07-17 07:56:25 -06:00 |
Gregory Nutt
|
ffd3a31649
|
Rename lib_rand.c to lib_srand.c
|
2016-07-17 07:11:09 -06:00 |
Gregory Nutt
|
95555a0199
|
PTY: Add ioctls to support locking and unlocking of the slave. LIBC: Add implementation of unlockpt()
|
2016-07-15 09:39:33 -06:00 |
Gregory Nutt
|
6139860c0b
|
PTY: Added PTY IOCTL command definitions. Add support for TIOCGPTN. LIB: Implement ptsname() and ptsname_r()
|
2016-07-15 08:33:47 -06:00 |
Gregory Nutt
|
90e60513b1
|
New strtoul[l] functions need to include errno.h
|
2016-06-13 08:49:46 -06:00 |
Gregory Nutt
|
56c5da3030
|
Cosmetic change from review of PR53
|
2016-06-13 08:21:06 -06:00 |
Sebastien Lorquet
|
15c92867de
|
Fixes for strtoul/strtoull. Fixes Issue #1
|
2016-06-13 15:29:05 +02:00 |
Kha Vo
|
51facd904d
|
bsearch: Fix an IAR compilation problem
|
2016-04-03 13:56:59 -06:00 |
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
Gregory Nutt
|
b682190f52
|
Rename all head files in main NuttX repository with names like *internal.h, removing the internal
|
2015-12-29 17:31:17 -06:00 |
Paul A. Patience
|
bfc95c641f
|
stdlib: Fix forgotten FARs
|
2015-11-18 14:22:43 -05:00 |
Gregory Nutt
|
e9bd8bceb4
|
nuttx/libc: Fix some spacing and alignment issues
|
2015-10-12 07:45:02 -06:00 |
Gregory Nutt
|
af086c40ff
|
Remove dangling whitespace
|
2015-10-04 15:28:54 -06:00 |
Gregory Nutt
|
16b32bbadd
|
Standardize the width of all comment boxes in C files
|
2015-10-03 07:25:53 -06:00 |
Gregory Nutt
|
5b51a9fcdd
|
Standardize the width of all comment boxes in C files
|
2015-10-02 17:43:18 -06:00 |
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
Gregory Nutt
|
38e6142ae8
|
Make coding style more conformant, take description from OpenGroup.org, rename formal parameters to match names used on OpenGroup.org
|
2015-10-02 12:58:40 -06:00 |
Gregory Nutt
|
2ba224eca2
|
Add support for bsearch() in C library
|
2015-10-02 12:33:58 -06:00 |
Gregory Nutt
|
9c66bde5b0
|
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
|
2015-09-05 09:10:48 -06:00 |
Gregory Nutt
|
eb19e0c0e2
|
Add two files that I forgot in a previous commit
|
2015-08-14 10:12:04 -06:00 |
Gregory Nutt
|
6df94096ca
|
Add ldiv() and lldiv() too
|
2015-08-14 08:45:59 -06:00 |
Stavros Polymenis
|
301f215638
|
Add support for div() to the C library. From OrbitalFox
|
2015-08-14 08:35:01 -06:00 |
Gregory Nutt
|
1018296e27
|
Make some file section headers more consistent with standard
|
2015-04-08 07:32:08 -06:00 |
Gregory Nutt
|
9ac09db800
|
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
|
2014-11-25 13:46:14 -06:00 |
Gregory Nutt
|
ee22104762
|
Can't use formal parameter name 'template' in stdlib.h. Causes C++ compilation errors. Noted by Lorenz Meier
|
2014-11-06 07:00:23 -06:00 |
Gregory Nutt
|
d13731711f
|
Add mktemp() and mkstemp()
|
2014-11-05 09:39:18 -06:00 |
Gregory Nutt
|
3a1324741a
|
More trailing whilespace removal
|
2014-04-13 14:32:20 -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
|
be14ee1f95
|
Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong
|
2014-01-16 08:03:26 -06:00 |
patacongo
|
d960ca3b8d
|
itoa() from Ryan Sundberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5741 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-14 18:30:06 +00:00 |
patacongo
|
5306523bce
|
Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-07 16:00:56 +00:00 |
patacongo
|
431ad8c567
|
Fix the fat, flat line bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5407 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-02 17:34:08 +00:00 |
patacongo
|
65548d2ae0
|
Another random number generator update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5406 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-01 18:44:57 +00:00 |
patacongo
|
131684fb54
|
Correct some errors in lib_rand.c from last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5405 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-01 18:04:10 +00:00 |
patacongo
|
929ffc14d2
|
Add one to internal result of random number generator to avoid the value zero, from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5404 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-01 16:32:03 +00:00 |