05-15-2012
Yeah, most ipc deal with C code where i get stuck.
6 More Discussions You Might Find Interesting
1. AIX
Hello,
I've been reading the AIX 5.1 System Concepts PDF but I'm still confused about some file-system concepts and their relationships.
What is the 'allocation group size'?
How are 'disk allocation unit'/'fragment size', NBPI and 'allocation group size'?
And how are the above three... (2 Replies)
Discussion started by: quickfirststep
2 Replies
2. Linux
Hi everyone,
I would like to have good understanding of i18N & L10N implementations in Linux.
What does it mean actually,interms of software development?
Where it is used and how it is used?
It would be more helpful to me, if anyone send me the links to "basics of i18N... (0 Replies)
Discussion started by: Aeon
0 Replies
3. Programming
Hello,
I would like get idea about performance enginering from basic to advanced level. Do anyone know a place where i can find some videos related to performance engineering ? (5 Replies)
Discussion started by: shafi2all
5 Replies
4. Solaris
can anyone explain me the RAID concepts clearly. I studied some book bt i didnt get any clear idea. (4 Replies)
Discussion started by: rogerben
4 Replies
5. Programming
How hash tables are used to quickly locate a data record? (4 Replies)
Discussion started by: rupeshkp728
4 Replies
6. Linux
hi guys,
i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (3 Replies)
Discussion started by: senthil.march
3 Replies
ipc.h(3HEAD) Headers ipc.h(3HEAD)
NAME
ipc.h, ipc - XSI interprocess communication access structure
SYNOPSIS
#include <sys/ipc.h>
DESCRIPTION
The <sys/ipc.h> header is used by three mechanisms for interprocess communication (IPC): messages, semaphores, and shared memory. All use a
common structure type, ipc_perm, to pass information used in determining permission to perform an IPC operation.
The ipc_perm structure contains the following members:
uid_t uid /* owner's user ID */
gid_t gid /* owner's group ID */
uid_t cuid /* creator's user ID */
gid_t cgid /* creator's group ID */
mode_t mode /* read/write permission
The uid_t, gid_t, mode_t, and key_t types are defined as described in <sys/types.h>. See types.h(3HEAD).
Definitions are provided for the constants listed below.
Mode bits:
IPC_CREAT Create entry if key does not exist.
IPC_EXCL Fail if key exists.
IPC_NOWAIT Error if request must wait.
Keys:
IPC_PRIVATE Private key.
Control commands:
IPC_RMID Remove identifier.
IPC_SET Set options.
IPC_STAT Get options.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
ftok(3C), types.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 10 Sep 2004 ipc.h(3HEAD)