版本2和3间的区别
于2007-07-18 21:08:21修订的的版本2
大小: 719
编辑: czk
备注:
于2007-08-07 19:51:44修订的的版本3
大小: 687
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 12: 行号 12:



[[Navigation(siblings)]]

Navigation(slides)

B.1.5 Direct Input and Output Functions

size_t fread(void *ptr, size_t size, size_t nobj, FILE *stream)
  • fread reads from stream into the array ptr at most nobj objects of size size. fread returns the number of objects read; this may be less than the number requested. feof and ferror must be used to determine status.

size_t fwrite(const void *ptr, size_t size, size_t nobj, FILE *stream)
  • fwrite writes, from the array ptr, nobj objects of size size on stream. It returns the number of objects written, which is less than nobj on error.

TCPL/B.01.5_Direct_Input_and_Output_Functions (2008-02-23 15:34:55由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.