* [Bug 11011] New: utmpname(3) returns interger but man page says void
@ 2008-06-30 6:55 bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
[not found] ` <bug-11011-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
0 siblings, 1 reply; 3+ messages in thread
From: bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2008-06-30 6:55 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA
http://bugzilla.kernel.org/show_bug.cgi?id=11011
Summary: utmpname(3) returns interger but man page says void
Product: Documentation
Version: unspecified
KernelVersion: 2.6.9-1.667
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
AssignedTo: documentation_man-pages-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org
ReportedBy: halesh.s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
In the link
http://www.gnu.org/software/libtool/manual/libc/Manipulating-the-Database.html
It has mentioned that
"The utmpname function returns a value of 0 if the new name was successfully
stored, and a value of -1 to indicate an error. Note that utmpname does not try
to open the database, and that therefore the return value does not say anything
about whether the database can be successfully opened."
But in man page it says it return void in its prototype.
void utmpname(const char *file);
In source code I have verified it returns int.
int
__utmpname (const char *file)
{
....
....
}
This is conflicting one and man page of utmpnae(3) needs to be fixed.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 11011] utmpname(3) returns interger but man page says void
[not found] ` <bug-11011-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
@ 2008-06-30 6:59 ` bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2008-06-30 7:16 ` bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
1 sibling, 0 replies; 3+ messages in thread
From: bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2008-06-30 6:59 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA
http://bugzilla.kernel.org/show_bug.cgi?id=11011
------- Comment #1 from halesh.s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 2008-06-29 23:59 -------
Created an attachment (id=16659)
--> (http://bugzilla.kernel.org/attachment.cgi?id=16659&action=view)
Patch to fix the utmpname(3) man page.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 11011] utmpname(3) returns interger but man page says void
[not found] ` <bug-11011-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
2008-06-30 6:59 ` [Bug 11011] " bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
@ 2008-06-30 7:16 ` bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
1 sibling, 0 replies; 3+ messages in thread
From: bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2008-06-30 7:16 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA
http://bugzilla.kernel.org/show_bug.cgi?id=11011
mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|documentation_man- |mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
|pages-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org |
Status|NEW |ASSIGNED
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-30 7:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 6:55 [Bug 11011] New: utmpname(3) returns interger but man page says void bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
[not found] ` <bug-11011-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
2008-06-30 6:59 ` [Bug 11011] " bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
2008-06-30 7:16 ` bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox