add_key.2: Order ERRORS alphabetically

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-08 02:49:42 +10:00
parent 5fbf4125fe
commit b801426a5e
1 changed files with 7 additions and 7 deletions

View File

@ -91,8 +91,11 @@ On error, the value \-1
will be returned and errno will have been set to an appropriate error. will be returned and errno will have been set to an appropriate error.
.SH ERRORS .SH ERRORS
.TP .TP
.B ENOKEY .B EACCES
The keyring doesn't exist. The keyring wasn't available for modification by the user.
.TP
.B EINVAL
The payload data was invalid.
.TP .TP
.B EKEYEXPIRED .B EKEYEXPIRED
The keyring has expired. The keyring has expired.
@ -100,8 +103,8 @@ The keyring has expired.
.B EKEYREVOKED .B EKEYREVOKED
The keyring has been revoked. The keyring has been revoked.
.TP .TP
.B EINVAL .B ENOKEY
The payload data was invalid. The keyring doesn't exist.
.TP .TP
.B ENOMEM .B ENOMEM
Insufficient memory to create a key. Insufficient memory to create a key.
@ -109,9 +112,6 @@ Insufficient memory to create a key.
.B EDQUOT .B EDQUOT
The key quota for this user would be exceeded by creating this key or linking The key quota for this user would be exceeded by creating this key or linking
it to the keyring. it to the keyring.
.TP
.B EACCES
The keyring wasn't available for modification by the user.
.SH LINKING .SH LINKING
Although this is a Linux system call, it is not present in Although this is a Linux system call, it is not present in
.I libc .I libc