C stdlib question
1
Name:
Anonymous
2010-06-04 19:09
The functions rename and remove from stdio.h strike me as oddly high level. Why do they exist? Isn't stuff at the OS/filesystem level supposed to be implemented by the programmer?
I'm still learning my way around C and I'm curious.
2
Name:
Anonymous
2010-06-04 19:11
See also link and unlink, which are unrelated to each other.
3
Name:
Anonymous
2010-06-04 20:11
I don't know, do you handle reading the filetable and getting the raw file by interfacing with the block driver, instead of calling open()?
4
Name:
Anonymous
2010-06-04 20:15
>>2
They're exact opposites.
link creates a directory entry,
unlink removes one.
5
Name:
Anonymous
2010-06-04 20:17
>>4
Quick, what are sticky directories?
6
Name:
Anonymous
2010-06-04 20:53
Portable assembly, emphasis on portable .
7
Name:
Anonymous
2010-06-04 23:54
>>5
Directories filled with porn.
8
Name:
Anonymous
2011-02-03 1:21