Skip to contentSkip to conversation

New: pipe(2) #include <fcntl.h> is missing for the pipe2() function

Bug 31752 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 1 participant 3 messages Mar 23, 2011 – Mar 24, 2012 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=31752

Summary: pipe(2) #include <fcntl.h> is missing for the pipe2()
function
Product: Documentation
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
AssignedTo: documentation_man-pages-ztI5WcYan/[email protected]
ReportedBy: [email protected]
Regression: No

Hello,

As explained in the title, there is a missing #include for the pipe2() function in the manpage of pipe (section 2).

Indeed, we have to include fcntl.h to be able to use the flags O_NONBLOCK or O_CLOEXEC.

I use Fedora 14, so it's the release 3.25. But here [1] it's not fixed too.

Best regards,
Sébastien

[1] http://www.kernel.org/doc/man-pages/online/pages/man2/pipe.2.html

Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): bug-31752-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/

#2 lore raw

[Bug 31752] pipe(2) #include <fcntl.h> is missing for the pipe2() function

https://bugzilla.kernel.org/show_bug.cgi?id=31752

Michael Kerrisk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

[Bug 31752] pipe(2) #include <fcntl.h> is missing for the pipe2() function

In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=31752

Michael Kerrisk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |CODE_FIX

--- Comment #1 from Michael Kerrisk <[email protected]> 2012-03-24 10:52:26 --- This was fixed a while back (actually from a more recent report than
this--sorry!)

Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html