diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-17 05:24:39 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-05-17 05:24:39 +0000 |
commit | dac0657f55c200e0f91701f813036cc662a9658b (patch) | |
tree | 07fa5a4b3b6e142a0633b1dd4948554d4e5886fd /lib | |
parent | d620ec09a9f877473fc0fd5758d0d03377342deb (diff) |
o Mention strlcpy and strlcat
o strsep is not in ANSI X3.159-1989 (though it is in C9X)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/string.3 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3 index 8ee414fea85..12632da4931 100644 --- a/lib/libc/string/string.3 +++ b/lib/libc/string/string.3 @@ -31,13 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: string.3,v 1.4 1999/05/16 19:55:17 alex Exp $ +.\" $OpenBSD: string.3,v 1.5 1999/05/17 05:24:38 millert Exp $ .\" .Dd April 19, 1991 .Dt STRING 3 .Os BSD 4 .Sh NAME .Nm strcat , +.Nm strlcat , .Nm strncat , .Nm strchr , .Nm strrchr , @@ -46,6 +47,7 @@ .Nm strcasecmp, .Nm strncasecmp , .Nm strcpy , +.Nm strlcpy , .Nm strncpy , .Nm strerror , .Nm strlen , @@ -61,7 +63,9 @@ .Sh SYNOPSIS .Fd #include <string.h> .Ft char * -.Fn strcat "char *s" "const char * append" +.Fn strcat "char *s" "const char *append" +.Ft char * +.Fn strlcat "char *s" "const char *append" "size_t size" .Ft char * .Fn strncat "char *s" "const char *append" "size_t count" .Ft char * @@ -79,6 +83,8 @@ .Ft char * .Fn strcpy "char *dst" "const char *src" .Ft char * +.Fn strlcpy "char *dst" "const char *src" "size_t size" +.Ft char * .Fn strncpy "char *dst" "const char *src" "size_t count" .Ft char * .Fn strerror "int errno" @@ -124,6 +130,8 @@ for size limitations. .Xr strcpy 3 , .Xr strcspn 3 , .Xr strerror 3 , +.Xr strlcat 3 , +.Xr strlcpy 3 , .Xr strlen 3 , .Xr strpbrk 3 , .Xr strrchr 3 , @@ -144,7 +152,6 @@ The .Fn strerror , .Fn strlen , .Fn strpbrk , -.Fn strsep , .Fn strspn , .Fn strcspn , .Fn strstr , |