text
stringlengths 0
234
|
---|
.tp |
.b eacces |
permission to |
.br shm_unlink () |
the shared memory object was denied. |
.tp |
.b eacces |
permission was denied to |
.br shm_open () |
.i name |
in the specified |
.ir mode , |
or |
.b o_trunc |
was specified and the caller does not have write permission on the object. |
.tp |
.b eexist |
both |
.b o_creat |
and |
.b o_excl |
were specified to |
.br shm_open () |
and the shared memory object specified by |
.i name |
already exists. |
.tp |
.b einval |
the |
.i name |
argument to |
.br shm_open () |
was invalid. |
.tp |
.b emfile |
the per-process limit on the number of open file descriptors has been reached. |
.tp |
.b enametoolong |
the length of |
.i name |
exceeds |
.br path_max . |
.tp |
.b enfile |
the system-wide limit on the total number of open files has been reached. |
.tp |
.b enoent |
an attempt was made to |
.br shm_open () |
a |
.i name |
that did not exist, and |
.b o_creat |
was not specified. |
.tp |
.b enoent |
an attempt was to made to |
.br shm_unlink () |
a |
.i name |
that does not exist. |
.sh versions |
these functions are provided in glibc 2.2 and later. |
.sh attributes |
for an explanation of the terms used in this section, see |
.br attributes (7). |
.ad l |
.nh |
.ts |
allbox; |
lbx lb lb |
l l l. |
interface attribute value |
t{ |
.br shm_open (), |
.br shm_unlink () |
t} thread safety mt-safe locale |
.te |
.hy |
.ad |
.sp 1 |
.sh conforming to |
posix.1-2001, posix.1-2008. |
.pp |
posix.1-2001 says that the group ownership of a newly created shared |
memory object is set to either the calling process's effective group id |
or "a system default group id". |
posix.1-2008 says that the group ownership |
may be set to either the calling process's effective group id |
or, if the object is visible in the filesystem, |
the group id of the parent directory. |
.sh notes |
posix leaves the behavior of the combination of |
.b o_rdonly |
and |
.b o_trunc |
unspecified. |
on linux, this will successfully truncate an existing |
shared memory object\(emthis may not be so on other unix systems. |
.pp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.