* sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.

* sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee.
	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
This commit is contained in:
Ulrich Drepper 2006-04-14 21:57:20 +00:00
parent 1620084c4e
commit fd0262a4ed
11 changed files with 45 additions and 1 deletions

View File

@ -1,5 +1,16 @@
2006-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.
* sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent):
Minor cleanups. NUL terminate name string.

View File

@ -124,7 +124,7 @@ libc {
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
}
GLIBC_2.5 {
splice; sync_file_range;
splice; sync_file_range; tee;
}
GLIBC_PRIVATE {
# functions used in other libraries

View File

@ -204,6 +204,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -211,6 +211,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -205,6 +205,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -211,6 +211,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -230,6 +230,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -211,6 +211,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -230,6 +230,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS

View File

@ -74,6 +74,7 @@ splice EXTRA splice i:iiii splice
sysinfo EXTRA sysinfo i:p sysinfo
swapon - swapon i:si __swapon swapon
swapoff - swapoff i:s __swapoff swapoff
tee EXTRA tee i:iiii tee
unshare EXTRA unshare i:i unshare
uselib EXTRA uselib i:s uselib
wait4 - wait4 i:iWiP __wait4 wait4

View File

@ -225,6 +225,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
#endif
__END_DECLS