home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
pdksh-4.9-src.tgz
/
tar.out
/
contrib
/
pdksh
/
std
/
stdc
/
stdio.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
396b
|
32 lines
/*
* Emulation of misc. ANSI C stdio functions
*/
/* $Id: stdio.c,v 1.3 93/05/05 21:18:25 sjg Exp $ */
#include <stdio.h>
#ifndef __STDC__
#define const
#define volatile
#endif
#if 1
int
remove(name)
const char *name;
{
return unlink(name);
}
#endif
#if _V7
int
rename(oname, nname)
const char *oname, *nname;
{
return link(oname, nname) == 0 && unlink(oname) == 0 ? 0 : -1;
}
#endif