summaryrefslogtreecommitdiff
path: root/src/linux/sysinfo.c
AgeCommit message (Collapse)AuthorLines
2014-04-15add namespace-protected name for sysinfo functionRich Felker-1/+4
it will be needed to implement some things in sysconf, and the syscall can't easily be used directly because the x32 syscall uses the wrong structure layout. the l (uncreative, for "linux") prefix is used since the symbol name __sysinfo is already taken for AT_SYSINFO from the aux vector. the way the x32 override of this function works is also changed to be simpler and avoid the useless jump instruction.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-2/+1
2011-03-20global cleanup to use the new syscall interfaceRich Felker-1/+1
2011-02-15remove standalone syscall cruftRich Felker-1/+0
this was originally written for an early draft of the library where non-standard functions would reside in a static library separate from the shared libc.so, which would implement a pure standard. the idea was not to depend on an implementation-dependent __syscall_ret function in the main libc. but it turned out to be better to put everything in a single library for both static and dynamic linking uses, and thus the (incomplete) remnants of this feature were just enlarging the source and binary.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+9