Search Results

Search: Posts Made By: M3xican
Forum: Programming 07-24-2002
9,608
Posted By M3xican
shared libraries
from "Unix Programming FAQ (v1.37)"

6.3 How to create shared libraries / dlls?
==========================================

The precise method for creating shared libraries varies between...
Forum: Programming 07-20-2002
11,674
Posted By M3xican
the new code
The prolems are 2.
1) the lack of the ! into the (pid1=fork())
2) the lack of a wait or waitpid function after the else.

The output of your program is correct, but sometimes the first output...
Forum: Programming 07-19-2002
11,674
Posted By M3xican
Thanx
Thanx Perderabo, I have solved my problem using as pipe as fifo thanks your suggestion of open
the pipe twice.

I have modifyed your source because your line:

if(pid1=fork())

was incorrect....
Forum: Programming 07-17-2002
11,674
Posted By M3xican
Pipe & fifo....
Could someone Help me with this code please?



#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <fcntl.h>

#define SIZE_B...
Forum: Programming 07-17-2002
31,086
Posted By M3xican
Thanx
Thanx a lot Perderabo.
Forum: Programming 07-12-2002
31,086
Posted By M3xican
read, write & STDOUT_FILENO....
hi guys, I'have a question 4 u.

Why this code give me the right output (an integer on the stdout):



read(fd,&mpid,sizeof(pid_t));
printf("%d\n",mpid);



Instead this code give me only...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 04:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy