henkjan gersen(h.ger...@gmail.com) on 2020.11.14 19:00:15 +0000: > OK, no problem it just looked strange when reading the code as most > definitions in that file don't have them. > > btw) I'm by now way more puzzled why this file has a function to create a pipe > > struct pipe_pair *pipe_pair_create(void); > > but lacks a corresponding destroy function. This makes it look like > the pipes created as a pipe_pair don't get properly destroyed, but my C > is rusty.
pipe(2) explains The pipe itself persists until all its associated descriptors are closed.