From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH 01/10] Fix return type of readlinkat() Date: Thu, 08 May 2014 11:43:54 +0200 Message-ID: <536B51DA.8010305@gmail.com> References: <1398886962-10633-1-git-send-email-rv@rasmusvillemoes.dk> <1398886962-10633-2-git-send-email-rv@rasmusvillemoes.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398886962-10633-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rasmus Villemoes Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org 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 > --- > 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 " "/* Definition of AT_* constants */" > .B #include > .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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html