Results 1 to 3 of 3
rename() system call will rename the file. How do I write this system call...
- 12-08-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 1
how to write a rename system call
rename() system call will rename the file. How do I write this system call
- 12-09-2011 #2Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 260
Do you mean from the command line? The command is "mv" which does "move" and "rename". If you mean like with-in C code, you need to include the proper library and you call rename.
- 01-04-2012 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 29
Please find couple of links which throws some light on writing a custom system call
http://www.cmpe.boun.edu.tr/courses/...%208.04%29.pdf
http://courses.cs.vt.edu/~cs3204/spr...inux_rev00.pdf
Hope this helps
Thanks
Philix


Reply With Quote
