home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
archivers
/
amignutar
/
src
/
sas_amiga2.c
< prev
next >
Wrap
Text File
|
1998-04-23
|
578b
|
56 lines
/*
* Amiga specific functions
*/
char *index(char *a, int b)
{
return( strchr(a,b) );
}
char *rindex(char *a, char *b)
{
return(strrchr(a,b));
}
void *bcopy(void *a, void *b, long c)
{
return(memmove(b,a,c));
}
int bcmp(void *a, void *b, long c)
{
return( memcmp(a,b,c) );
}
void *bzero(void *a, long b)
{
return(memset(a,0,b));
}
void _exit(int n)
{
exit(n);
}
char *major(char *dev)
{
return(dev);
}
char *minor(char *dev)
{
return(dev);
}
void *alloca(int size)
{
return( malloc(size) );
}
int makedev(int ma, int mi)
{
return( ((ma << 8) | mi) );
}