AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
fd Struct Reference

A file descriptor: the open file it refers to (fs/file.c, shared with the descriptors that dup() and fork() copied), and its own flags. More...

#include <proc.h>

Data Fields

struct file * file
int flags

Detailed Description

A file descriptor: the open file it refers to (fs/file.c, shared with the descriptors that dup() and fork() copied), and its own flags.

Definition at line 47 of file proc.h.

Field Documentation

◆ file

struct file* fd::file

Definition at line 48 of file proc.h.

Referenced by copy_fds(), proc_fd_file(), proc_fd_get(), and proc_fd_install().

◆ flags

int fd::flags

Definition at line 49 of file proc.h.

Referenced by copy_fds(), proc_execve(), proc_fd_install(), sys_recv(), and sys_send().


The documentation for this struct was generated from the following file: