Mail Archives: djgpp/1996/05/14/10:20:55
> While porting my program from BC3.1 to DJGPP v2, I got the
> warning of an implicit declaration of int mkdir(...).
> When I grep-ed the include-directory, I found that in
> sys/stat.h there's a prototype for mkdir(char*,int,int);.
I've found in sys/stat.h only int mkdir(const char *_path, mode_t _mode);
(two parameters). This is correct prototype according to posix.
> while in BC3.1 there's int mkdir(char*) in dir.h
BC3.1 does not conform to posix, obviously.
- Raw text -