about summary refs log tree commit diff
path: root/include/fcntl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-16 00:24:16 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-16 00:24:16 +0000
commit5c46041a9c8e0431f0b329a94becfc5d576d12cb (patch)
treef1674233067d582cc28ab1221c00660b8fb66a65 /include/fcntl.h
parentfc30e8dafa2326ef5f5c05f032606635c329cc12 (diff)
downloadglibc-5c46041a9c8e0431f0b329a94becfc5d576d12cb.tar.gz
glibc-5c46041a9c8e0431f0b329a94becfc5d576d12cb.tar.xz
glibc-5c46041a9c8e0431f0b329a94becfc5d576d12cb.zip
* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
	separate function __atfct_seterrno_2.
	* include/fcntl.h: Declare __atfct_seterrno_2.
	* posix/unistd.h: Declare linkat, symlinkat, readlinkat.
	* io/Makefile (routines): Add linkat, symlinkat, readlinkat.
	* io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
	* io/linkat.c: New file.
	* io/readlinkat.c: New file.
	* io/symlinkat.c: New file.
	* sysdeps/unix/sysv/linux/linkat.c: New file.
	* sysdeps/unix/sysv/linux/readlinkat.c: New file.
	* sysdeps/unix/sysv/linux/symlinkat.c: New file.
Diffstat (limited to 'include/fcntl.h')
-rw-r--r--include/fcntl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 6080faba3e..610e322cfd 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -21,5 +21,8 @@ libc_hidden_proto (__fcntl)
 /* Helper functions for the various *at functions.  For Linux.  */
 extern void __atfct_seterrno (int errval, int fd, const char *buf)
   attribute_hidden;
+extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1,
+				int fd2, const char *buf2)
+  attribute_hidden;
 
 #endif