Struktur data files_struct mendeskripsikan file yang dibuka oleh suatu proses.
[sourcecode languange=”cpp”]
struct files_struct {
int count;
fd_set close_on_exec;
fd_set open_fds;
struct file * fd[NR_OPEN];
};
[/sourcecode]
fs_struct
[sourcecode languange=”cpp”]
struct fs_struct {
int count;
unsigned short umask;
struct inode * root, * pwd;
};
[/sourcecode]
Sumber : tldp.org
Leave a Reply