Lines Matching refs:alloc_fd
120 * alloc_fd().
416 int alloc_fd(char *file, int oflags);
980 alloc_fd(NULL, 0);
1435 if ((fd = alloc_fd(file, oflags)) == -1)
1640 if ((fd = alloc_fd(file, oflags)) == -1)
2148 if ((fd = alloc_fd(lio->r_file, lio->r_oflags)) == -1) {
3115 if ((fd = alloc_fd(file, oflags)) == -1)
3524 if ((fd = alloc_fd(file, oflags)) == -1)
3618 if ((fd = alloc_fd(file, oflags)) == -1)
3759 if ((fd = alloc_fd(file, flags)) == -1) {
4254 * If alloc_fd() is called with a file of NULL, it will close all descriptors
4258 int alloc_fd(char *file, int oflags)
4370 /*printf("alloc_fd: new file %s flags %#o fd %d\n", file, oflags, fd);*/