threads and process

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