mirror of https://github.com/mkerrisk/man-pages
add <fcntl.h> to synopsis
This commit is contained in:
parent
5f59e24802
commit
e03e2055bc
|
@ -19,13 +19,15 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH SHM_OPEN 3 2002-02-22 "Linux 2.4" "Linux Programmer's Manual"
|
||||
.TH SHM_OPEN 3 2004-12-17 "Linux 2.6.9" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
shm_open, shm_unlink \- Create/open or unlink POSIX shared memory objects
|
||||
.SH SYNOPSIS
|
||||
.B #include <sys/types.h>
|
||||
.br
|
||||
.B #include <sys/mman.h>
|
||||
.br
|
||||
.BR "#include <fcntl.h>" " /* For O_* constants */"
|
||||
.sp
|
||||
.BI "int shm_open(const char *" name ", int " oflag ", mode_t " mode );
|
||||
.sp
|
||||
|
|
Loading…
Reference in New Issue