add_key.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-02-11 22:40:49 +01:00
parent e4b382b976
commit 7ee431656b
1 changed files with 3 additions and 7 deletions

View File

@ -75,15 +75,12 @@ and a colon (for instance
.RB \*(lq afs:mykey \*(rq). .RB \*(lq afs:mykey \*(rq).
The The
.I payload .I payload
may be empty or may be empty or NULL for keys of this type.
.B NULL
for keys of this type.
.TP .TP
.B \*(lqkeyring\*(rq .B \*(lqkeyring\*(rq
Keyrings are special key types that may contain links to sequences of other Keyrings are special key types that may contain links to sequences of other
keys of any type. keys of any type.
If this interface is used to create a keyring, then a If this interface is used to create a keyring, then a NULL
.B NULL
.I payload .I payload
should be specified, and should be specified, and
.I plen .I plen
@ -92,8 +89,7 @@ should be zero.
On success On success
.BR add_key () .BR add_key ()
returns the serial number of the key it created or updated. returns the serial number of the key it created or updated.
On error, the value On error, the value \-1
.B -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