From: WANG Cong <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [Patch] Fix the prototype of personality(2)
Date: Sat, 08 Mar 2008 20:04:47 +0800 (CST) [thread overview]
Message-ID: <20080308.200447.90797012.xiyou.wangcong@gmail.com> (raw)
According to the source code of Linux kernel, the type of the
return value of personality(2) should be long instead of int.
Signed-off-by: WANG Cong <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Index: man-pages-2.78/man2/personality.2
===================================================================
--- man-pages-2.78.orig/man2/personality.2
+++ man-pages-2.78/man2/personality.2
@@ -33,7 +33,7 @@ personality \- set the process execution
.SH SYNOPSIS
.B #include <sys/personality.h>
.sp
-.BI "int personality(unsigned long " persona );
+.BI "long personality(unsigned long " persona );
.SH DESCRIPTION
Linux supports different execution domains, or personalities, for each
process.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2008-03-08 12:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-08 12:04 WANG Cong [this message]
[not found] ` <20080308.200447.90797012.xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-03-10 7:21 ` [Patch] Fix the prototype of personality(2) Michael Kerrisk
[not found] ` <cfd18e0f0803100021u3d28db41pcdf2c0b64aabeada-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-10 7:24 ` WANG Cong
[not found] ` <20080310.152422.158004388.xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-03-10 8:10 ` Michael Kerrisk
[not found] ` <cfd18e0f0803100110s4101e6c9m71c20e9a737a5f79-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-10 8:10 ` Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080308.200447.90797012.xiyou.wangcong@gmail.com \
--to=xiyou.wangcong-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox