|
|
1.1 root 1: .\" Copyright (c) 1990 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" This code is derived from software contributed to Berkeley by
5: .\" Chris Torek.
6: .\"
7: .\" Redistribution and use in source and binary forms are permitted
8: .\" provided that: (1) source distributions retain this entire copyright
9: .\" notice and comment, and (2) distributions including binaries display
10: .\" the following acknowledgement: ``This product includes software
11: .\" developed by the University of California, Berkeley and its contributors''
12: .\" in the documentation or other materials provided with the distribution
13: .\" and in all advertising materials mentioning features or use of this
14: .\" software. Neither the name of the University nor the names of its
15: .\" contributors may be used to endorse or promote products derived
16: .\" from this software without specific prior written permission.
17: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
18: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
19: .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20: .\"
21: .\" @(#)bstring.3 6.6 (Berkeley) 5/15/90
22: .\"
23: .TH BSTRING 3 "May 15, 1990"
24: .UC
25: .SH NAME
26: bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memmove,
27: memset \- byte string operations
28: .SH SYNOPSIS
29: .nf
30: .ft B
31: #include <string.h>
32:
33: int
34: bcmp(const char *b1, const char *b2, size_t len);
35:
36: void
37: bcopy(const char *src, char *dst, size_t len);
38:
39: void
40: bzero(char *b, size_t len);
41:
42: void *
43: memchr(const void *b, int c, size_t len);
44:
45: int
46: memcmp(const void *b1, const void *b2, size_t len);
47:
48: char *
49: memccpy(char *dst, const char *src, int c, size_t len);
50:
51: void *
52: memcpy(void *dst, const void *src, size_t len);
53:
54: void *
55: memmove(void *dst, const void *src, size_t len);
56:
57: void *
58: memset(void *b, int c, size_t len)
59: .ft R
60: .fi
61: .SH DESCRIPTION
62: These functions operate on variable length strings of bytes.
63: They do not check for terminating null bytes as the routines
64: listed in
65: .IR string (3)
66: do.
67: .PP
68: See the specific manual pages for more information.
69: .SH SEE\ ALSO
70: bcmp(3), bcopy(3), bzero(3), memccpy(3), memchr(3), memcmp(3), memcpy(3),
71: memmove(3), memset(3)
72: .SH STANDARDS
73: .IR Memchr ,
74: .IR memcmp ,
75: .IR memcpy ,
76: .IR memmove ,
77: and
78: .I memset
79: conform to ANSI X3.159-1989 (``ANSI C'').
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.