Showing content from http://svn.python.org/projects/python/branches/r22b1-branch/Mac/Compat/getbootvol.c below:
/* Return the name of the boot volume (not the current directory). Public domain by Guido van Rossum, CWI, Amsterdam (July 1987). */ #include "macdefs.h" char * getbootvol(void) { short vrefnum; static unsigned char name[32]; (void) GetVol(name, &vrefnum); p2cstr(name); /* Shouldn't fail; return ":" if it does */ strcat((char *)name, ":"); return (char *)name; }
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