diff options
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/access.2 | 2 | ||||
| -rw-r--r-- | man2/delete_module.2 | 2 | ||||
| -rw-r--r-- | man2/eventfd.2 | 4 | ||||
| -rw-r--r-- | man2/fallocate.2 | 4 | ||||
| -rw-r--r-- | man2/fcntl.2 | 2 | ||||
| -rw-r--r-- | man2/getrandom.2 | 2 | ||||
| -rw-r--r-- | man2/init_module.2 | 2 | ||||
| -rw-r--r-- | man2/open.2 | 3 | ||||
| -rw-r--r-- | man2/seccomp.2 | 2 | ||||
| -rw-r--r-- | man2/timerfd_create.2 | 4 |
10 files changed, 14 insertions, 13 deletions
diff --git a/man2/access.2 b/man2/access.2 index 952604ad1f..2778c8e2c3 100644 --- a/man2/access.2 +++ b/man2/access.2 @@ -319,7 +319,7 @@ directories in the path prefix of grant search (i.e., execute) access. If any directory is inaccessible, then the .BR access () -call will fail, regardless of the permissions on the file itself. +call fails, regardless of the permissions on the file itself. .PP Only access bits are checked, not the file type or contents. Therefore, if a directory is found to be writable, diff --git a/man2/delete_module.2 b/man2/delete_module.2 index a38432bcea..daa15faa25 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -106,7 +106,7 @@ By default, if a module has an .I init function but no .I exit -function, then an attempt to remove the module will fail. +function, then an attempt to remove the module fails. However, if .BR O_TRUNC was specified, this requirement is bypassed. diff --git a/man2/eventfd.2 b/man2/eventfd.2 index c63891a07f..4c9001ed71 100644 --- a/man2/eventfd.2 +++ b/man2/eventfd.2 @@ -80,7 +80,7 @@ Each successful returns an 8-byte integer. A .BR read (2) -will fail with the error +fails with the error .B EINVAL if the size of the supplied buffer is less than 8 bytes. .IP @@ -141,7 +141,7 @@ if the file descriptor has been made nonblocking. .IP A .BR write (2) -will fail with the error +fails with the error .B EINVAL if the size of the supplied buffer is less than 8 bytes, or if an attempt is made to write the value 0xffffffffffffffff. diff --git a/man2/fallocate.2 b/man2/fallocate.2 index d3d310dee3..461b2be2b6 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -165,7 +165,7 @@ must be a multiple of the filesystem logical block size, which varies according to the filesystem type and configuration. If a filesystem has such a requirement, .BR fallocate () -will fail with the error +fails with the error .BR EINVAL if this requirement is violated. .PP @@ -267,7 +267,7 @@ This mode has the same limitations as regarding the granularity of the operation. If the granularity requirements are not met, .BR fallocate () -will fail with the error +fails with the error .BR EINVAL. If the .I offset diff --git a/man2/fcntl.2 b/man2/fcntl.2 index 722c251a9d..6764238415 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -1417,7 +1417,7 @@ If this seal is set, any further call to .BR fcntl () with .B F_ADD_SEALS -will fail with +fails with the error .BR EPERM . Therefore, this seal prevents any modifications to the set of seals itself. If the initial set of seals of a file includes diff --git a/man2/getrandom.2 b/man2/getrandom.2 index da49e5d875..f8377cbc4e 100644 --- a/man2/getrandom.2 +++ b/man2/getrandom.2 @@ -246,7 +246,7 @@ source is interrupted by a signal handler depends on the initialization state of the entropy buffer and on the request size, .IR buflen . -If the entropy is not yet initialized, then the call will fail with the +If the entropy is not yet initialized, then the call fails with the .B EINTR error. If the entropy pool has been initialized diff --git a/man2/init_module.2 b/man2/init_module.2 index 8e095bb006..4f13edf1fe 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -148,7 +148,7 @@ flag indicates that the "vermagic" string is to be ignored, and the flag indicates that the symbol version hashes are to be ignored. If the kernel is built to permit forced loading (i.e., configured with .BR CONFIG_MODULE_FORCE_LOAD ), -then loading will continue, otherwise it will fail with +then loading continues, otherwise it fails with the error .B ENOEXEC as expected for malformed modules. .SH RETURN VALUE diff --git a/man2/open.2 b/man2/open.2 index c44e987fc8..02a62a2558 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -429,7 +429,8 @@ and .I pathname already exists, then .BR open () -will fail. +fails with the error +.BR EEXIST . .IP When these two flags are specified, symbolic links are not followed: .\" POSIX.1-2001 explicitly requires this behavior. diff --git a/man2/seccomp.2 b/man2/seccomp.2 index 6b851c4794..a99c262596 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -148,7 +148,7 @@ the thread must make the following call: .IP Otherwise, the .BR SECCOMP_SET_MODE_FILTER -operation will fail and return +operation fails and returns .BR EACCES in .IR errno . diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index 0401a68f19..31ee21f315 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -297,7 +297,7 @@ flag). .IP A .BR read (2) -will fail with the error +fails with the error .B EINVAL if the size of the supplied buffer is less than 8 bytes. .IP @@ -313,7 +313,7 @@ was specified when calling .BR timerfd_settime (), then .BR read (2) -will fail with the error +fails with the error .BR ECANCELED if the real-time clock undergoes a discontinuous change. (This allows the reading application to discover |
