Lines Matching defs:fd
40 int fd;71 int fd = open(path, O_RDONLY);72 if (fd < 0) {78 ctx->fd = fd;93 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len,244 close(ctx.fd);320 int fd = open(path, O_WRONLY);321 if (fd < 0) {330 ret = write(fd, pid, len);338 close(fd);