main.c: spello

master
leonnicolas 4 years ago
parent e01b4a28ae
commit c7025e2da9
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -58,7 +58,7 @@ int main(){
if (sem_wait(&sstr->sem) == -1)
errExit("sem_wait");
pread(fd,sstr, sizeof(struct shared_str),0);
printf("text in shared buffe: %s\n",sstr -> buf);
printf("text in shared buffer: %s\n",sstr -> buf);
}
int status;
pid = wait(&status);

Loading…
Cancel
Save