Top "Posix" 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.

libc source location - for download or online viewing?

Sorry I know this is stupid but where is linux libc source code available? What I downloaded from GNU didn't …

c linux pthreads posix glibc
Why does GCC-Windows depend on cygwin?

I'm not a C++ developer, but I've always been interested in compilers, and I'm interested in tinkering with some of …

windows gcc cygwin posix compiler-construction
How to be notified of file/directory change in C/C++, ideally using POSIX

The subject says it all - normally easy and cross platform way is to poll, intelligently. But every OS has …

c++ c posix
Share POSIX semaphore among multiple processes

I need to create two child processes each of which calls execvp ater being forked, and the executables share POSIX …

c posix ipc semaphore
Why are sem_init(), sem_getvalue(), sem_destroy() deprecated on Mac OS X — and what replaces them?

When I compile a program using the POSIX sem_init() function, I get a compilation warning (error because I normally …

c macos posix
Getting the highest allocated file descriptor

Is there a portable way (POSIX) to get the highest allocated file descriptor number for the current process? I know …

posix file-descriptor
How do you capture a group with regex?

I'm trying to extract a string from another using regex. I'm using the POSIX regex functions (regcomp, regexec ...), and I …

c regex posix
Win32 API analog of sending/catching SIGTERM

Under POSIX OS there is signal API that allows to send a signal to process to shut it down with …

windows winapi posix shutdown sigterm
two file descriptors to same file

Using the posix read() write() linux calls, is it guaranteed that if I write through one file descriptor and read …

linux file posix file-descriptor
What's the practical limit on the size of single packet transmitted over domain socket?

Let us assume that there is a Unix domain socket created for a typical server-client program. The client sends a 10…

linux sockets unix posix ipc