Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 14:05:07 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Ighighi <ighighi@gmail.com>
Subject:   Re: POSIXfy readlink() call
Message-ID:  <200905111405.07289.jhb@freebsd.org>
In-Reply-To: <46FDBAFC.1010000@gmail.com>
References:  <46FDBAFC.1010000@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 September 2007 10:39:56 pm Ighighi wrote:
> The POXIX prototype for readlink(2) is:
> ssize_t readlink(const char *restrict path, char *restrict buf, size_t 
> bufsize);

It can't simply be corrected as it would change the ABI and thus requires a 
new system call, etc.  However, do you really expect a symlink to be longer 
than 2^31 on a 64-bit machine?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905111405.07289.jhb>