Annotation of coherent/a/usr/man/ALL/memcpy, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: memcpy()                 String Function                 memcpy()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Copy one region of memory into another
                      9: 
                     10: #include <string.h>
                     11: cchhaarr *mmeemmccppyy(_r_e_g_i_o_n_1, _r_e_g_i_o_n_2, _n);
                     12: cchhaarr *_r_e_g_i_o_n_1; cchhaarr *_r_e_g_i_o_n_2; uunnssiiggnneedd iinntt _n;
                     13: 
                     14: memcpy copies n characters from region2 into region1.  Unlike the
                     15: routines  strcpy and  strncpy, memcpy copies  from one  region to
                     16: another.  Therefore,  it will not halt  automatically when it en-
                     17: counters a null character.
                     18: 
                     19: memcpy returns region1.
                     20: 
                     21: ***** See Also *****
                     22: 
                     23: strcpy(), string functions, string.h
                     24: 
                     25: ***** Notes *****
                     26: 
                     27: If region1  and region2  overlap, the  behavior of memcpy  is un-
                     28: defined.  region1 should  point to enough reserved memory to hold
                     29: n bytes of data; otherwise, code or data will be overwritten.
                     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: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.