summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/posix_fadvise.c
Commit message (Collapse)AuthorAgeFilesLines
* unify stub logicMike Frysinger2011-02-241-2/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop last _syscall6 checksMike Frysinger2009-08-311-1/+1
| | | | | | If your arch does not support _syscall6(), it is broken anyways. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop missing {INLINE,INTERNAL}_SYSCALL fallback logicMike Frysinger2009-07-081-19/+0
| | | | | | | Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft keeping them alive since it no longer works with the unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-271-7/+0
|
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-221-1/+1
|
* Fix posix_fadvise[64] functions to return the error number in caseCarmelo Amoroso2008-09-181-2/+12
| | | | | | | | of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Atsushi Nemoto writes:Mike Frysinger2007-05-311-2/+1
| | | | | http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno.
* Add posix_fadvise posix_fadvise64 for arm.Khem Raj2007-03-061-0/+16
| | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-1/+1
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* fix building on 64bit hostsMike Frysinger2006-01-211-0/+7
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+2
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-5/+1
| | | | missing headers, other jump relocs removed
* kill off some unused warningsMike Frysinger2006-01-041-1/+1
|
* if arch doesnt provide _syscall6(), we need to alias the 64bit versionMike Frysinger2006-01-041-1/+1
|
* Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger2005-12-161-1/+1
| | | | of __attribute__ ...
* touchup how we declare the posix_fadvise functions and fix the case where ↵Mike Frysinger2005-12-011-8/+7
| | | | posix_fadvise kernel call exists but not posix_fadvise64
* Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt2005-01-191-8/+8
| | | | but neither __NR_fadvise64 nor __NR_fadvise64_64.
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-171-0/+34