Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

send array to child process c

//array[n];
//write 
write(fd[1], array, sizeof(int) * n); //n is how much number does it have to write
//read
read(fd[0], array, sizeof(int) * n); //n is how much number does it have to read

//You need to know the size of your array
 
PREVIOUS NEXT
Tagged: #send #array #child #process
ADD COMMENT
Topic
Name
7+4 =