File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / fread
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



fread()                   STDIO Function                  fread()




Read data from file stream

#include <stdio.h>
iinntt ffrreeaadd(_b_u_f_f_e_r, _s_i_z_e, _n, _f_p)
cchhaarr *_b_u_f_f_e_r; uunnssiiggnneedd _s_i_z_e, _n; FFIILLEE *_f_p;

fread reads n items, each being size bytes long, from file stream
fp into buffer.

***** Example *****

For an  example of how  to use this  function, see the  entry for
fopen.

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

fwrite(), STDIO

***** Diagnostics *****

fread returns  zero upon reading  EOF or on  error; otherwise, it
returns the number of items read.


































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.