diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-20 04:09:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-20 04:09:40 +0000 |
commit | 0b04efee1b2986166d766aed53d59b926579575d (patch) | |
tree | 559a17342f73f1116b47ebc4db24f74cceb1c232 /lib/libc | |
parent | a1e70df20cae2626fb6865651bf880c5efc935b0 (diff) |
Update man page and sccs tags from lite2.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/string/memccpy.3 | 14 | ||||
-rw-r--r-- | lib/libc/string/memccpy.c | 12 |
2 files changed, 17 insertions, 9 deletions
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3 index a06e60cf5d4..2fabd2f5eab 100644 --- a/lib/libc/string/memccpy.3 +++ b/lib/libc/string/memccpy.3 @@ -1,5 +1,7 @@ -.\" Copyright (c) 1990, 1991 The Regents of the University of California. -.\" All rights reserved. +.\" $OpenBSD: memccpy.3,v 1.3 1997/08/20 04:09:39 millert Exp $ +.\" +.\" Copyright (c) 1990, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -29,13 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: memccpy.3,v 1.2 1996/08/19 08:34:03 tholo Exp $ +.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93 .\" -.Dd April 19, 1991 +.Dd June 9, 1993 .Dt MEMCCPY 3 .Os .Sh NAME .Nm memccpy +.Nd copy string until character found .Sh SYNOPSIS .Fd #include <string.h> .Ft void * @@ -68,5 +71,4 @@ bytes are copied, and a NULL pointer is returned. .Sh HISTORY The .Fn memccpy -function is -.Ud . +function first appeared in 4.4BSD. diff --git a/lib/libc/string/memccpy.c b/lib/libc/string/memccpy.c index 4757f9c0f8f..020e6e56797 100644 --- a/lib/libc/string/memccpy.c +++ b/lib/libc/string/memccpy.c @@ -1,6 +1,8 @@ +/* $OpenBSD: memccpy.c,v 1.3 1997/08/20 04:09:39 millert Exp $ */ + /*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,7 +34,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: memccpy.c,v 1.2 1996/08/19 08:34:03 tholo Exp $"; +#if 0 +static char sccsid[] = "@(#)memccpy.c 8.1 (Berkeley) 6/4/93"; +#else +static char *rcsid = "$OpenBSD: memccpy.c,v 1.3 1997/08/20 04:09:39 millert Exp $"; +#endif #endif /* LIBC_SCCS and not lint */ #include <string.h> |