diff options
author | 2014-09-01 05:09:52 +0000 | |
---|---|---|
committer | 2014-09-01 05:09:52 +0000 | |
commit | e6ff12da831683ab6d936830516d971cd66f55eb (patch) | |
tree | afcca0e8c0b190cc14457de608850fd577d433e8 /lib/libc | |
parent | Add implementations of atomic_{inc,dec,add,sub}_{int,long}() and (diff) | |
download | wireguard-openbsd-e6ff12da831683ab6d936830516d971cd66f55eb.tar.xz wireguard-openbsd-e6ff12da831683ab6d936830516d971cd66f55eb.zip |
Sync readlink(2) with IEEE Std 1003.1-2008.
discussion, help and ok guenther@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/readlink.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2 index b5e2abad447..9f12e977472 100644 --- a/lib/libc/sys/readlink.2 +++ b/lib/libc/sys/readlink.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readlink.2,v 1.16 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: readlink.2,v 1.17 2014/09/01 05:09:52 doug Exp $ .\" $NetBSD: readlink.2,v 1.7 1995/02/27 12:35:54 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)readlink.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: September 1 2014 $ .Dt READLINK 2 .Os .Sh NAME @@ -39,8 +39,8 @@ .Nd read value of a symbolic link .Sh SYNOPSIS .Fd #include <unistd.h> -.Ft int -.Fn readlink "const char *path" "char *buf" "size_t bufsiz" +.Ft ssize_t +.Fn readlink "const char *restrict path" "char *restrict buf" "size_t bufsiz" .Fd #include <fcntl.h> .Fd #include <unistd.h> .Ft ssize_t |