summaryrefslogtreecommitdiffstats
path: root/src/include/stdlib.h
Commit message (Collapse)AuthorAgeFilesLines
* [libc] Add strtoull()Piotr Jaroszyński2010-08-191-0/+40
| | | | | | | | | | Don't implement strtoul() on top of strtoull() as strtoull() is much bigger and only used on linux currently. Instead refactor most of the logic out of strtoul() into static inlines and reuse that. Also put it in a separate object so it won't get linked in. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [i386] Rename __cdecl to __asmcallMichael Brown2008-11-191-1/+1
| | | | | __cdecl is a misleading name, since it currently encapsulates both cdecl and regparm(0) attributes. Rename to __asmcall.
* [libc] Add function declaration for main() in stdlib.hMichael Brown2008-10-071-0/+1
|
* use malloc attributeHolger Lubitz2007-08-201-3/+3
|
* Renamed _calloc() to zalloc(), ready to be used as a standalone function.Michael Brown2007-06-111-3/+3
|
* Split random number generation out into core/random.c, and create theMichael Brown2007-01-191-4/+44
| | | | correct prototypes for srandom(), rand() and srand().
* Add missing prerequisite includeMichael Brown2007-01-191-0/+2
|
* Don't always zero memory in malloc(). This saves around 2us on aMichael Brown2007-01-181-4/+6
| | | | full-length PKB allocation.
* Fix prototype of random() and move to stdlib.hMichael Brown2006-12-221-0/+1
|
* Added execv() and system().Michael Brown2006-12-081-0/+1
|
* Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specificMichael Brown2006-12-021-0/+20
| | | | function prototypes (e.g. malloc_dma()) in malloc.h.
* Fix up prototype of strtoul() to match POSIX.Michael Brown2006-04-301-1/+1
|
* Moved strtoul prototype into stdlib.h for consistencyMichael Brown2005-04-301-0/+6