|
|
1.1 root 1: kkuuccooppyy() -- Memory-Manipulation Routine
2:
3: uunnssiiggnneedd
4: kkuuccooppyy(_k, _u, _n)
5: cchhaarr *_k;
6: cchhaarr *_u;
7: uunnssiiggnneedd _n;
8:
9: kkuuccooppyy() copies _n bytes from offset _k in the kernel's data segment to
10: offset _u in user's data segment. It returns the number of bytes copied.
11: If an address fault occurs, kkuuccooppyy() sets uu.uu_eerrrroorr to EEFFAAUULLTT and returns
12: zero.
13:
14: _S_e_e _A_l_s_o
15: mmeemmoorryy-mmaanniippuullaattiioonn rroouuttiinneess
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.