Lines Matching defs:fd
65 int fd, rc;
81 fd = open(fname, O_RDONLY, 0);
84 fd = open(fname, O_WRONLY|O_CREAT, permission);
89 if (fd < 0) {
93 rc = fcntl(fd, F_SETLK, &fl);
95 rc = fcntl(fd, F_SETLK64, &fl);
100 close(fd);
102 result[0] = fd;
117 jclass thisclass, jint fd) {
127 rc = fcntl(fd, F_SETLK, &fl);
129 rc = fcntl(fd, F_SETLK64, &fl);
133 close(fd);
136 rc = close(fd);