summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
Commit message (Collapse)AuthorAgeFilesLines
* unistd: hide relocationsBernhard Reutner-Fischer2011-11-171-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* linux_specific: handle accept4 and pipe2Bernhard Reutner-Fischer2011-05-121-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add pipe2()Bernhard Reutner-Fischer2011-05-111-0/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* disable _POSIX2_LOCALEDEFPeter S. Mazinger2011-03-091-0/+2
| | | | | | uClibc does not provide the localedef utility Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko2009-07-211-2/+2
| | | | | | | | | | Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* implement daemon() using clone() on no-mmu systems as suggested by Jamie LokierMike Frysinger2009-04-071-2/+0
|
* Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.Rob Landley2009-02-241-1/+1
|
* - repair my r25322 that ment to deal with getdomainname()'s visibilityBernhard Reutner-Fischer2009-02-131-4/+3
|
* - we may need getdomainname internallyBernhard Reutner-Fischer2009-02-131-0/+3
|
* Merge some pre-work from branch, needed by NPTL.Khem Raj2008-12-311-0/+2
|
* - expand SUSv3_LEGACYBernhard Reutner-Fischer2008-12-291-1/+2
| | | | - SUSv4_LEGACY part #1 (non-networking)
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-0/+48
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-0/+7
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-0/+1
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-0/+2
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-2/+0
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-0/+2
|
* New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMUDenis Vlasenko2008-07-081-1/+1
|
* - make libcrypt optional. Untested.Bernhard Reutner-Fischer2008-06-051-0/+2
|
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rework smallint machinery so that it will reliably fail to compileDenis Vlasenko2008-06-011-4/+4
| | | | | | even if arch overrides smallint size. Makes it easier to spot bugs on such arches.
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-0/+10
| | | | | | | | | | | | | | - 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
* sync with glibc as pointed out by Bernhard FischerMike Frysinger2007-01-281-7/+9
|
* Sync w/ glibc, we can leave __USE_ATFILE in, because we do not define it in ↵Peter S. Mazinger2006-02-211-14/+27
| | | | features.h
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-2/+2
|
* Sync w/ glibc, mostly REDIRECT_NTH,__wurPeter S. Mazinger2006-01-041-65/+109
|
* as psm points out, we need to use bits/getopt.h in unistd.h since getopt.h ↵Mike Frysinger2005-11-151-1/+1
| | | | wont exist if user disables the option
* sync getopt headers with glibcMike Frysinger2005-11-151-1/+1
|
* Use bits/getopt.h, getopt.h is not included if GNU_GETOPT support is disabledPeter S. Mazinger2005-11-041-1/+1
|
* Sync w/ glibcPeter S. Mazinger2005-11-031-95/+201
|
* Do not stub out functions for mmu-less systems. Hide allEric Andersen2005-10-041-0/+4
| | | | prototypes for functions disabled on mmu-less systems.
* remove pthread_atfork() prototype since SuSv3 doesnt *require* it and ↵Mike Frysinger2005-04-061-19/+0
| | | | glibc-2.3.x has since punted it too from unistd.h
* Remove unimplemented non-SuSv3 function prototypesEric Andersen2004-10-071-27/+0
|
* Cleanup some dead wood in the header filesEric Andersen2004-07-301-22/+0
|
* Add some missing prototypesEric Andersen2003-11-021-1/+19
|
* Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III2003-09-081-1/+1
| | | | | | 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.
* Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"2002-09-041-3/+0
| | | | works identically to function in glibc.
* Eliminate C++ style commentsEric Andersen2002-01-101-4/+4
|
* Rev all the header files to sync things with glibc 2.2.4Eric Andersen2001-09-271-255/+240
|
* Put a bandaid on getpgrp behaviorEric Andersen2001-08-141-8/+5
|
* Don't include asm/unistd.hEric Andersen2001-06-271-1/+0
|
* Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen2001-06-121-5/+1
| | | | | | define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
* Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen2001-03-191-3/+3
| | | | | | | | 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
* Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen2001-01-121-0/+4
| | | | | | Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
* Handle fork and vfork on a per architecture basis...Eric Andersen2000-12-131-1/+4
|
* Remove environ from _USE_GNU wrapper.Eric Andersen2000-11-161-2/+0
|
* Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,Eric Andersen2000-11-151-0/+1
| | | | rework include/stdio.h, and fix up the resultant damage.
* Fix up a few messes so it compiles cleanly again.Eric Andersen2000-11-111-0/+5
|
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-116/+908
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* Fix a few more screwups.Eric Andersen2000-10-231-0/+4
|