TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: Jasen Betts
from: Darin McBride
date: 2003-07-26 18:41:26
subject: Creating a directory

Hello Jasen!

Replying to a message of Jasen Betts to Neil Heller:

 JB> Hi Neil.

 JB> 24-Jul-03 09:23:00, Neil Heller wrote to Jasen Betts


 JB>>> mkdir() made it into Posix, so it should be availavble on most
 JB>>> platforms that support that sort of behavior.... (eg not
 JB>>> available on CP/M)

 JB>>> note also that mkdir will fail if there's already a file with a
 JB>>> name like the directory you want to create, or may fail for other
 JB>>> resons too...

 NH>> Other reasons?  Aside from hardware failure, what might they be?

 JB> disk space, read only media, no (network) permission, no more room in
 JB> root directory, possibly some more I've forgotten.

Parent directory doesn't exist (mkdir only creates one directory, not all of them).

Darin
dmcbride{at}tower.to.org

---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 633/267 270
@PATH: 250/102 99 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.