File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / memset
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



memset()                 String Function                 memset()




Fill an area with a character

#include <string.h>
cchhaarr *mmeemmsseett(_b_u_f_f_e_r, _c_h_a_r_a_c_t_e_r, _n);
cchhaarr *_b_u_f_f_e_r; iinntt _c_h_a_r_a_c_t_e_r; uunnssiiggnneedd iinntt _n;

memset fills the  first n bytes of the area  pointed to by buffer
with copies of character.  It casts character to an uunnssiiggnneedd cchhaarr
before filling buffer with copies of it.

memset returns the pointer buffer.

***** See Also *****

string functions, string.h









































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

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