HelenOS sources

vfs_fd_alloc      203 uspace/srv/vfs/vfs.h extern errno_t vfs_fd_alloc(vfs_file_t **file, bool desc, int *);
vfs_fd_alloc      111 uspace/srv/vfs/vfs_ops.c 		rc = vfs_fd_alloc(&newfile, desc, out_fd);
vfs_fd_alloc      258 uspace/srv/vfs/vfs_ops.c 		rc = vfs_fd_alloc(&file, false, out_fd);
vfs_fd_alloc      899 uspace/srv/vfs/vfs_ops.c 	rc = vfs_fd_alloc(&file, false, out_fd);
HelenOS homepage, sources at GitHub