POSIXfy readlink() call
John Baldwin
jhb at freebsd.org
Mon May 11 18:25:08 UTC 2009
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
More information about the freebsd-hackers
mailing list