Find the answer to your Linux question:
Results 1 to 3 of 3
rename() system call will rename the file. How do I write this system call...
  1. #1
    Just 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

  2. #2
    Linux 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.

  3. #3
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •