A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://svn.python.org/projects/python/branches/r22b1-branch/Mac/Compat/mkdir.c below:

/* Mkdir for the Macintosh. Public domain by Guido van Rossum, CWI, Amsterdam (July 1987). Pathnames must be Macintosh paths, with colons as separators. */ #include "macdefs.h" /* Create a directory. */ int mkdir(path, mode) char *path; int mode; /* Ignored */ { HFileParam pb; if (!hfsrunning()) { errno= ENODEV; return -1; } pb.ioNamePtr= (StringPtr) Pstring(path); pb.ioVRefNum= 0; pb.ioDirID= 0; if (PBDirCreate((HParmBlkPtr)&pb, FALSE) != noErr) { errno= EACCES; return -1; } return 0; }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4