Skip to content
Advertisement

Tag: invalid-argument

C close() : Invalid argument

Sorry per advance for my english, i’m not english native and be indulgent i’m also a student. I’m trying to recreate the pipe function in C, but i have a problem when i try to close pipe fd before the dup2(), the function close() return me an error Ïnvalid argument, i have already check if my fd is valid and

Advertisement