correct readlinkat(2) return type
r176215 corrected readlink(2)'s return type and the type of the last argument. readlink(2) was introduced in r177788 after being developed as part of Google Summer of Code 2007; it appears to have inherited the wrong return type. Man pages and header files were already ssize_t; update syscalls.master to match. PR: 197915 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 2 weeks
This commit is contained in:
parent
54612fd52b
commit
e8ee7d9035
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346273
@ -963,7 +963,7 @@
|
||||
uint32_t dev); }
|
||||
499 AUE_OPENAT_RWTC NOPROTO { int openat(int fd, const char *path, \
|
||||
int flag, mode_t mode); }
|
||||
500 AUE_READLINKAT NOPROTO { int readlinkat(int fd, const char *path, \
|
||||
500 AUE_READLINKAT NOPROTO { ssize_t readlinkat(int fd, const char *path, \
|
||||
char *buf, size_t bufsize); }
|
||||
501 AUE_RENAMEAT NOPROTO { int renameat(int oldfd, const char *old, \
|
||||
int newfd, const char *new); }
|
||||
|
@ -2716,7 +2716,7 @@
|
||||
);
|
||||
}
|
||||
500 AUE_READLINKAT STD {
|
||||
int readlinkat(
|
||||
ssize_t readlinkat(
|
||||
int fd,
|
||||
_In_z_ const char *path,
|
||||
_Out_writes_bytes_(bufsize) char *buf,
|
||||
|
Loading…
Reference in New Issue
Block a user