Re: [PATCH] doc: context_new(3): fix the return value description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/04/2012 07:05 PM, Eric Paris wrote:
On Mon, Dec 3, 2012 at 9:33 PM, Pádraig Brady<P@xxxxxxxxxxxxxx>  wrote:

I applied (and gave you credit for) the following patch.  Does it look
ok to you?


tmp.patch


diff --git a/libselinux/man/man3/context_new.3 b/libselinux/man/man3/context_new.3

-On success, zero is returned. On failure, \-1 is returned and
+On failure
+.BR context_*_set ()
+functions return non-zero and 0 on success.
+
+The other functions return NULL on failure and non-NULL on success.
+
+On failure
  .I errno
  is set appropriately.
  .


thanks,
Pádraig.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux