Category : Recently Uploaded Files
Archive   : RSXWDK2S.ZIP
Filename : MKDIR.C

 
Output of file : MKDIR.C contained in archive : RSXWDK2S.ZIP
/* mkdir.c (emx+gcc) -- Copyright (c) 1990-1993 by Eberhard Mattes */

#include
#include
#include

int mkdir (const char *name, int mode)
{
mode = 0; /* Keep the compiler happy */
if (dos_mkdir (name) == 0)
return (0);
else
{
if (errno == EACCES)
errno = EEXIST;
return (-1);
}
}
#include
#include

int __mkdir (const char *name)
{
return dos_mkdir(name);
}


  3 Responses to “Category : Recently Uploaded Files
Archive   : RSXWDK2S.ZIP
Filename : MKDIR.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/