cplusplus.com
C++ : Forum : UNIX/Linux Programming : threads and process
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


post threads and process

ahmakki (21)
can i write in a know pipe like this form write(fdWrite, &infoUsager, sizeof(user[8]));
Last edited on
jsmith (5804)
Sure, but I'm not sure sizeof( user[8] ) is what you want.
ahmakki (21)
i have a table of struct user and i want to send 8 struct in the pipe
firedraco (4744)
Then user[8] isn't what you want. You want sizeof(user)*8.
Topic archived. No new replies allowed.