Top "Posix-api" questions

POSIX (Portable Operating System Interface) is a set of standards defining programming APIs, a command interpreter, and common utilities for Unix-like operating systems.

How can I wait for any/all pthreads to complete?

I just want my main thread to wait for any and all my (p)threads to complete before exiting. The …

c linux multithreading pthreads posix-api
Is O_NONBLOCK being set a property of the file descriptor or underlying file?

From what I have been reading on The Open Group website on fcntl, open, read, and write, I get the …

c nonblocking file-descriptor fcntl posix-api
SIGKILL signal handling

If a linux process is waiting for I/O (i.e it is in SLEEP state) and a SIGKILL signal …

linux unix posix sigkill posix-api
Is O_LARGEFILE needed just to write a large file?

Is the O_LARGEFILE flag needed if all that I want to do is write a large file (O_WRONLY) …

c large-files file-descriptor posix-api large-file-support