summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/posix_fadvise64.c
Commit message (Collapse)AuthorAgeFilesLines
* unify stub logicMike Frysinger2011-02-241-2/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop missing {INLINE,INTERNAL}_SYSCALL fallback logicMike Frysinger2009-07-081-34/+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>
* - trim superfluous ';'. No objcode changesBernhard Reutner-Fischer2008-10-281-1/+1
|
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-221-1/+1
|
* Add work-around for powerpc.Carmelo Amoroso2008-09-221-2/+2
| | | | | | | Do noy use syscall wrapper based on INTERNAL_SYSCALL. A proper fix would require an arch specific implementation. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix posix_fadvise[64] functions to return the error number in caseCarmelo Amoroso2008-09-181-6/+30
| | | | | | | | 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>
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-1/+1
|
* - 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.
* posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by ↵Mike Frysinger2008-02-161-1/+1
| | | | skinkie in #2194
* fix typo pointed out by skinkie in #2194Mike Frysinger2008-02-161-1/+1
|
* 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/+17
| | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
* 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-1/+1
| | | | missing headers, other jump relocs removed
* Make __syscall_fadvise64_64 static inlinePeter S. Mazinger2005-12-011-1/+1
|
* touchup how we declare the posix_fadvise functions and fix the case where ↵Mike Frysinger2005-12-011-10/+6
| | | | posix_fadvise kernel call exists but not posix_fadvise64
* Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt2005-01-191-7/+18
| | | | but neither __NR_fadvise64 nor __NR_fadvise64_64.
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-171-0/+57