author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-12 21:25:30 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-12 21:25:30 UTC |
parent | ae3e192dd35e6aae88bf2eed42372445bf12a05e |
preload/posix/modules/posix.io.mod | +20 | -0 |
diff --git a/preload/posix/modules/posix.io.mod b/preload/posix/modules/posix.io.mod index 23b99d4..62b918a 100644 --- a/preload/posix/modules/posix.io.mod +++ b/preload/posix/modules/posix.io.mod @@ -59,6 +59,16 @@ ssize_t writev(int fd, const struct iovec *iov, int iovcnt); on error: -1 valid errnos: EBADFD EFAULT EFBIG EINTR EINVAL EIO ENOSPC +int truncate(const char *path, off_t length); + on error: -1 + valid errnos: EACCES EFAULT EFBIG EINTR EINVAL EIO EISDIR ELOOP \ + ENAMETOOLONG ENOENT ENOTDIR EPERM EROFS ETXTBSY + +int ftruncate(int fd, off_t length); + on error: -1 + valid errnos: EACCES EBADF EFAULT EFBIG EINTR EINVAL EIO EISDIR ELOOP \ + ENAMETOOLONG ENOENT ENOTDIR EPERM EROFS ETXTBSY + fiu name base: posix/io/dir/ @@ -83,6 +93,16 @@ int closedir(DIR *dirp); on error: -1 valid errnos: EBADF +int unlink(const char *pathname); + on error: -1 + valid errnos: EACCES EBUSY EFAULT EIO EISDIR ELOOP ENAMETOOLONG ENOENT \ + ENOMEM ENOTDIR EPERM EROFS + +int rename(const char *oldpath, const char *newpath); + on error: -1 + valid errnos: EACCES EBUSY EFAULT EINVAL EISDIR ELOOP EMLINK ENAMETOOLONG \ + ENOENT ENOMEM ENOSPC ENOTDIR ENOTEMPTY EPERM EROFS EXDEV + fiu name base: posix/io/stat/