home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
elm.lzh
/
ELM
/
SRC
/
OSK.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-11
|
372b
|
27 lines
#include <stdio.h>
int link(from,to) /* all link calls changed to copies */
char *from, *to;
{
return(-1); /* return error */
}
int fork() /* ehem .... */
{
return(-1);
}
char *ctime(t)
long t;
{
return(asctime(localtime(t)));
}
ochown(name, user, group)
char *name;
int user, group;
{
return(chown(name,(((group << 16) & 0x00ff0000) | (user & 0x000000ff))));
}