PERFORCE change 122084 for review
Roman Divacky
rdivacky at FreeBSD.org
Thu Jun 21 10:52:43 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122084
Change 122084 by rdivacky at rdivacky_witten on 2007/06/21 10:51:40
Introduce include/* part of POSIX Extended API
o add prototypes for faccessat, fchmodat, fchownat, fexecve,
linkat, readlinkat, symlinkat, unlinkat
I changed return value of readlinkat at from ssizt_t to ssize_t because
I think its a typo and I changed "int flag" to just "int" in linkat prototype.
Affected files ...
.. //depot/projects/soc2007/rdivacky/linux_at/include/stdio.h#2 edit
.. //depot/projects/soc2007/rdivacky/linux_at/include/unistd.h#2 edit
Differences ...
==== //depot/projects/soc2007/rdivacky/linux_at/include/stdio.h#2 (text+ko) ====
@@ -447,5 +447,6 @@
#define putchar_unlocked(x) putc_unlocked(x, stdout)
#endif
+int renameat(int, const char *, int, const char *);
__END_DECLS
#endif /* !_STDIO_H_ */
==== //depot/projects/soc2007/rdivacky/linux_at/include/unistd.h#2 (text+ko) ====
@@ -558,6 +558,15 @@
extern int optreset; /* getopt(3) external variable */
#endif
#endif /* __BSD_VISIBLE */
+
+int faccessat(int, const char *, int);
+int fchmodat(int, const char *, mode_t, int);
+int fchownat(int, const char *, uid_t, gid_t, int);
+int fexecve(int, char *const [], char *const []);
+int linkat(int, const char *, int, const char *, int);
+ssize_t readlinkat(int, const char *, char *, size_t);
+int symlinkat(const char *, int, const char *);
+int unlinkat(int, const char *, int);
__END_DECLS
#endif /* !_UNISTD_H_ */
More information about the p4-projects
mailing list