Lines Matching refs:fFile
26 status_t InitCheck() { return fFile > -1 ? B_OK : B_ERROR; }
32 int fFile;
38 : fFile(-1)
50 fFile = open(device, O_RDWR | O_EXCL, 0);
51 if (fFile < 0) {
54 fFile = open(device, O_WRONLY | O_EXCL, 0);
57 if (fFile < 0)
65 tcgetattr(fFile, &options);
77 tcsetattr(fFile, TCSANOW, &options);
94 close(fFile);
101 return read(fFile, buffer, size);
108 return write(fFile, buffer, size);