diff options
Diffstat (limited to 'direct/timothy_tests/linux_tests/rename.c')
-rw-r--r-- | direct/timothy_tests/linux_tests/rename.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/direct/timothy_tests/linux_tests/rename.c b/direct/timothy_tests/linux_tests/rename.c deleted file mode 100644 index 9c40c2f..0000000 --- a/direct/timothy_tests/linux_tests/rename.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <stdio.h> -#include <errno.h> - - -int main() -{ - int output=0; - int error_code =0 ; - output=rename( "/home/timothy/test/cat/","/home/timothy/test/dog/"); - printf("output %d\n",output); - if (output <0 ) { - error_code = errno; - printf("error code %d\n",error_code); - printf("Error description is : %s\n",strerror(errno)); - } - return 0; -} |