Searched refs:streamID (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/contrib/bmake/
H A Djob.c1158 int streamID; /* ID of stream opened to do the touch */ local
1188 streamID = open(file, O_RDWR | O_CREAT, 0666);
1190 if (streamID >= 0) {
1197 if (read(streamID, &c, 1) == 1) {
1198 (void)lseek(streamID, (off_t)0, SEEK_SET);
1199 while (write(streamID, &c, 1) == -1 && errno == EAGAIN)
1203 (void)close(streamID);
/freebsd-10.0-release/usr.bin/make/
H A Djob.c1161 int streamID; /* ID of stream opened to do the touch */ local
1190 streamID = open(file, O_RDWR | O_CREAT, 0666);
1192 if (streamID >= 0) {
1199 if (read(streamID, &c, 1) == 1) {
1200 lseek(streamID, (off_t)0, SEEK_SET);
1201 write(streamID, &c, 1);
1204 close(streamID);

Completed in 55 milliseconds