prev up next   top/contents search

comp.lang.c FAQ list · Question 19.16

Q: How can I delete a file?


A: The Standard C Library function is remove. (This is therefore one of the few questions in this section for which the answer is not ``It's system-dependent.'') On older, pre-ANSI Unix systems, remove may not exist, in which case you can try unlink. [footnote]

References: K&R2 Sec. B1.1 p. 242
ISO Sec. 7.9.4.1
H&S Sec. 15.15 p. 382
PCS Sec. 12 pp. 208,220-221
POSIX Sec. 5.5.1, Sec. 8.2.4


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North