wrote a file copy function partially

This commit is contained in:
2014-12-03 15:27:45 +00:00
parent 44129510dc
commit e01c1f8644
10 changed files with 628 additions and 15 deletions

View File

@ -368,6 +368,12 @@
# define QSE_SYMLINK(oldpath,newpath) symlink(oldpath,newpath)
#endif
#if defined(SYS_readlink) && defined(QSE_USE_SYSCALL)
# define QSE_READLINK(path,buf,size) syscall(SYS_readlink,path,buf,size)
#else
# define QSE_READLINK(path,buf,size) readlink(path,buf,size)
#endif
#if defined(SYS_unlink) && defined(QSE_USE_SYSCALL)
# define QSE_UNLINK(path) syscall(SYS_unlink,path)
#else