By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,514 Members | 1,801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,514 IT Pros & Developers. It's quick & easy.

how to delete a file?

P: 6
how we can delete a file in linux using c?
May 24 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 10K+
P: 11,448
how we can delete a file in linux using c?
Check out the unlink() function (its prototype is in unistd.h)

kind regards,

Jos
May 24 '07 #2

100+
P: 208
remove() also works too...
May 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.