disable the unrecognized nls flag
[AROS-Contrib.git] / regina / mac.c
blob2436c24b321d7bff76964ed605d75cffa88f69d0
1 #if defined(MAC)
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <time.h>
6 #include "mac.h"
8 int stat( char *fn, struct stat *buf )
10 buf = buf; /* keep compiler happy */
11 fprintf(stderr,"trying to stat(): %s\n", fn );
12 return 0;
15 int fstat( int fd, struct stat *buf )
17 buf = buf; /* keep compiler happy */
18 fprintf(stderr,"trying to stat(): %d\n", fd );
19 return 0;
22 int sleep( int sec )
24 fprintf(stderr,"trying to sleep(): %d\n", sec );
25 return 0;
28 char * getcwd( char *buf, size_t size )
30 size = size; /* keep compiler happy */
31 fprintf(stderr,"trying to getcwd()\n" );
32 strcpy( buf, "junk" );
33 return buf;
36 int chdir( char *buf )
38 fprintf(stderr,"trying to chdir(): %buf\n", buf );
39 return 0;
42 int isatty( int fd )
44 fd = fd; /* keep compiler happy */
45 return 0;
48 #endif