1: cwrite (buff, buffp1, len, fn)
   2: char *buff, *buffp1; int len, fn;
   3: {
   4: int unit, nwr;
   5: unit = buffp1-buff;
   6: len =* unit;
   7: nwr = write (fn, buff, len);
   8: return (nwr < 0 ? -1 : nwr/unit);
   9: }
  10: cread (buff, buffp1, len, fn)
  11: char *buff, *buffp1; int len, fn;
  12: {
  13: int unit, nrd;
  14: unit = buffp1 - buff;
  15: len =* unit;
  16: nrd = read(fn, buff, len);
  17: return (nrd < 0 ? -1 : nrd/unit);
  18: }

Defined functions

cread defined in line 10; never used
cwrite defined in line 1; never used
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 595
Valid CSS Valid XHTML 1.0 Strict