summaryrefslogtreecommitdiff
path: root/include/unistd.h
AgeCommit message (Collapse)Author
2008-06-03- adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer
like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
2008-06-01Rework smallint machinery so that it will reliably fail to compileDenis Vlasenko
even if arch overrides smallint size. Makes it easier to spot bugs on such arches.
2008-05-20Introduce and use small[u]int type. Changes in size:Denis Vlasenko
- 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
2007-01-28sync with glibc as pointed out by Bernhard FischerMike Frysinger
2006-02-21Sync w/ glibc, we can leave __USE_ATFILE in, because we do not define it in ↵Peter S. Mazinger
features.h
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-01-04Sync w/ glibc, mostly REDIRECT_NTH,__wurPeter S. Mazinger
2005-11-15as psm points out, we need to use bits/getopt.h in unistd.h since getopt.h ↵Mike Frysinger
wont exist if user disables the option
2005-11-15sync getopt headers with glibcMike Frysinger
2005-11-04Use bits/getopt.h, getopt.h is not included if GNU_GETOPT support is disabledPeter S. Mazinger
2005-11-03Sync w/ glibcPeter S. Mazinger
2005-10-04Do not stub out functions for mmu-less systems. Hide allEric Andersen
prototypes for functions disabled on mmu-less systems.
2005-04-06remove pthread_atfork() prototype since SuSv3 doesnt *require* it and ↵Mike Frysinger
glibc-2.3.x has since punted it too from unistd.h
2004-10-07Remove unimplemented non-SuSv3 function prototypesEric Andersen
2004-07-30Cleanup some dead wood in the header filesEric Andersen
2003-11-02Add some missing prototypesEric Andersen
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-01-10Eliminate C++ style commentsEric Andersen
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-08-14Put a bandaid on getpgrp behaviorEric Andersen
2001-06-27Don't include asm/unistd.hEric Andersen
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2000-12-13Handle fork and vfork on a per architecture basis...Eric Andersen
2000-11-16Remove environ from _USE_GNU wrapper.Eric Andersen
2000-11-15Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,Eric Andersen
rework include/stdio.h, and fix up the resultant damage.
2000-11-11Fix up a few messes so it compiles cleanly again.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-23Fix a few more screwups.Eric Andersen
2000-10-23Forgot a few things...Eric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-08-11Yet more updates. Getting closer....Eric Andersen
-Erik
2000-08-10More stuff. Down to only 43 missing functions before BusyBox willEric Andersen
link. Fixed socket stuff so it doesn't pull in kernel headers and stubbed out fork and clone. A few other header file cleanups. -Erik
2000-07-06Lots and lots of cleanups.Eric Andersen
-Erik
2000-07-05More header file cleanup.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-05-14Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>Erik Andersen
to allow uC-libc to compile under x86. -Erik
2000-05-14Initial revisionErik Andersen