home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * Amiga specific functions
- */
-
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/dir.h>
- #include <sys/stat.h>
- #include <time.h>
-
- char *
- index(ptr, c)
- char *ptr;
- char c;
- {
- return(strchr(ptr, c));
- }
-
- char *
- rindex(ptr, c)
- char *ptr;
- char c;
- {
- return(strrchr(ptr, c));
- }
-
- char *
- getwd(buf)
- char *buf;
- {
- return(getcwd(buf, MAXPATHLEN));
- }
-
- int
- readlink(path, name, max)
- char *path;
- char *name;
- {
- return(-1);
- }
-
- int
- lstat(buf, s)
- char *buf;
- struct stat *s;
- {
- return(stat(buf, s));
- }
-
- int
- symlink()
- {
- return(-1);
- }
-
- int
- utime()
- {
- return(0);
- }
-
- chmod()
- {
- return(0);
- }
-
- umask()
- {
- return(0);
- }
-
- fork()
- {
- return(-1);
- }
-
- execlp()
- {
- return(-1);
- }
-
-
- findgid()
- {
- return(0);
- }
-
- finduid()
- {
- return(0);
- }
-
- pipe()
- {
- return(-1);
- }
-
- dup()
- {
- return(-1);
- }
-
- wait()
- {
- return(-1);
- }
-
-
- int
- ftruncate()
- {
- return(-1);
- }
-
- setmode()
- {
- return(0);
- }
-