Looks like the prototype changed between glibc 2.4 and 2.5... Applied! Thanks, Michael On 04/30/2014 09:42 PM, Rasmus Villemoes wrote: > Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> > --- > man2/readlink.2 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man2/readlink.2 b/man2/readlink.2 > index 586ab9e..9dc2a31 100644 > --- a/man2/readlink.2 > +++ b/man2/readlink.2 > @@ -54,8 +54,8 @@ readlink, readlinkat \- read value of a symbolic link > .BR "#include <fcntl.h> " "/* Definition of AT_* constants */" > .B #include <unistd.h> > .sp > -.BI "int readlinkat(int " dirfd ", const char *" pathname , > -.BI " char *" buf ", size_t " bufsiz ); > +.BI "ssize_t readlinkat(int " dirfd ", const char *" pathname , > +.BI " char *" buf ", size_t " bufsiz ); > .sp > .fi > .in -4n > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html