PatchworkOS
Loading...
Searching...
No Matches
rename.c File Reference
#include <stdio.h>
#include "user/common/syscalls.h"

Go to the source code of this file.

Functions

int rename (const char *oldpath, const char *newpath)
 

Function Documentation

◆ rename()

int rename ( const char *  oldpath,
const char *  newpath 
)

Definition at line 5 of file rename.c.

References _syscall_errno(), _syscall_link(), _syscall_remove(), EOF, ERR, and errno.

Referenced by main().