xref: /386bsd/usr/share/man/cat3/memccpy.0 (revision a2142627)
1MEMCCPY(3)                386BSD Programmer's Manual                MEMCCPY(3)
2
3NNAAMMEE
4     mmeemmccccppyy
5
6SSYYNNOOPPSSIISS
7     ##iinncclluuddee <<ssttrriinngg..hh>>
8
9     _v_o_i_d *
10     mmeemmccccppyy(_v_o_i_d *_d_s_t, _c_o_n_s_t _v_o_i_d *_s_r_c, _i_n_t _c, _s_i_z_e__t _l_e_n)
11
12DDEESSCCRRIIPPTTIIOONN
13     The mmeemmccccppyy() function copies bytes from string _s_r_c to string _d_s_t. If the
14     character _c (as converted to an unsigned char) occurs in the string _s_r_c,
15     the copy stops and a pointer to the byte after the copy of _c in the
16     string _d_s_t is returned.  Otherwise, _l_e_n bytes are copied, and a NULL
17     pointer is returned.
18
19SSEEEE AALLSSOO
20     bcopy(3),  memcpy(3),  memmove(3),  strcpy(3)
21
22HHIISSTTOORRYY
23     The mmeemmccccppyy() function is currently under development.
24
25BSD Experimental                April 19, 1991                               1
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67