05-10-2010
System V or POSIX
Hi ,
I am using UNIX network programming Vol1 (by R Stevens) book to learn about IPC.
I would be using HP-UX,Solaris and Linux at my work.
I have sections for POSIX and for System V in that book.
I am quite confused in indentifying those OSs as POSIX or SYstem V.
Can anyone please help me which standard are those OSs belong to.
THanks
Kumaran
10 More Discussions You Might Find Interesting
1. Programming
I am using SUN 0S 5.7.
My application has a dozen programs running in this machine, each instance of a program having 2 POSIX message queues for itself. Totally around 90 POSIX message queues.
Another small application uses a SYSTEM V shared memory and a message queue.
We face a problem... (1 Reply)
Discussion started by: Deepa
1 Replies
2. UNIX for Advanced & Expert Users
I wanted study and write a unix like system. who can help me.
-------------
Removed the garbled characters... not sure why they were there... (2 Replies)
Discussion started by: crashsky
2 Replies
3. UNIX for Dummies Questions & Answers
What are the differences/similarities between posix and system V ipc and their mechanisms?
also, why is system v only limited to inter-process communication on a single node?
thanks (0 Replies)
Discussion started by: jsimpson
0 Replies
4. Programming
HI,
When i am configuring php in SUN Solaris. I am getting the below error.
configure: error: Your system seems to lack POSIX threads.
Do i need to install POSIX? If so can somebody let me know where can i download POSIX for Solaris 8?
Thanks, (2 Replies)
Discussion started by: Krrishv
2 Replies
5. Programming
Hi all
How i can create thread in SUSPENDED mode, and resume when i want.
I have win code with CreateThread (parameter CREATE_SUSPEND), and Resume Thread, but on POSIX with pthread i cant do it.
Please help me.
Best regards
// Kolesar (5 Replies)
Discussion started by: Kolesar
5 Replies
6. UNIX for Advanced & Expert Users
Hi,
consider the code below:
#include <stdio.h>
.
.
struct myStruct
{
char *message ;
int id;
};
.
.
.
void *thread_function( void *ptr );
nt main()
{
pthread_t thread1, thread2 ,thread3 ;
struct myStruct nico1; (2 Replies)
Discussion started by: Behnaz
2 Replies
7. What is on Your Mind?
Hi everybody,
i couldn't think of any better place to ask this question.
Does LINUX totally confirm with ALL of the POSIX standards??. If not which areas does it diverge??
my apologies if this questions seems sooo stupid to some of you..
thanks (0 Replies)
Discussion started by: abhiram7
0 Replies
8. Programming
I want to create a program that creates 2 child process, and each of them creates 2 threads, and each thread prints its thread id. I0ve allread done that the outuput isn't the outuput i want.
When a run the following comand "$./a.out | sort -u | wc -l" I have the folowing output
2
$:
It should... (3 Replies)
Discussion started by: pharaoh
3 Replies
9. OS X (Apple)
Thanks to all you guys about posix compliance I have learnt an enormous amount over the last few days.
I have written a program that is an Egg Timer with simple animation.
I now realise how sophisticated 'bash' is compared to full posix compliance.
The code below has passed all of the tests from... (11 Replies)
Discussion started by: wisecracker
11 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have a VM with following configration .
3.10.0-693.1.1.el7.x86_64 #1 SMP Thu Aug 3 08:15:31 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
My current POSIX is :--
Your environment variables take up 2011 bytes
POSIX upper limit on argument length (this system): 2093093
POSIX smallest... (15 Replies)
Discussion started by: Abhayman
15 Replies
IPC(2) Linux Programmer's Manual IPC(2)
NAME
ipc - System V IPC system calls
SYNOPSIS
int ipc(unsigned int call, int first, int second, int third,
void *ptr, long fifth);
DESCRIPTION
ipc() is a common kernel entry point for the System V IPC calls for messages, semaphores, and shared memory. call determines which IPC
function to invoke; the other arguments are passed through to the appropriate call.
User programs should call the appropriate functions by their usual names. Only standard library implementors and kernel hackers need to
know about ipc().
CONFORMING TO
ipc() is Linux-specific, and should not be used in programs intended to be portable.
NOTES
On some architectures--for example x86-64 and ARM--there is no ipc() system call; instead msgctl(2), semctl(2), shmctl(2), and so on really
are implemented as separate system calls.
SEE ALSO
msgctl(2), msgget(2), msgrcv(2), msgsnd(2), semctl(2), semget(2), semop(2), semtimedop(2), shmat(2), shmctl(2), shmdt(2), shmget(2)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2012-10-16 IPC(2)