Message115862
Visual Studio ships with the source code for the CRT (\Program Files\Microsoft Visual Studio 9.0\VC\crt\src). I looked up _mkdir. It does just call CreateDirectory(path, NULL). If no error occurs it returns zero. If an error occurs, it then converts the result of GetLastError to an appropriate errno code and returns -1.
Thus the following calls are equivalent:
_mkdir(dirname);
CreateDirectory(dirname, NULL); |
|
Date |
User |
Action |
Args |
2010-09-08 12:24:41 | janglin | set | recipients:
+ janglin, stutzbach, brian.curtin |
2010-09-08 12:24:40 | janglin | set | messageid: <1283948680.94.0.334579228473.issue9752@psf.upfronthosting.co.za> |
2010-09-08 12:24:39 | janglin | link | issue9752 messages |
2010-09-08 12:24:39 | janglin | create | |
|