fileincref -> filedup (consistent with idup)

This commit is contained in:
rsc 2007-08-27 14:35:09 +00:00
parent 7895178df3
commit 1ccff18b24
4 changed files with 9 additions and 9 deletions

2
defs.h
View file

@ -28,7 +28,7 @@ int exec(char*, char**);
// file.c
struct file* filealloc(void);
void fileclose(struct file*);
void fileincref(struct file*);
struct file* filedup(struct file*);
void fileinit(void);
int fileread(struct file*, char*, int n);
int filestat(struct file*, struct stat*);