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.

Distinguishing between Java threads and OS threads?

How do I distinguish running Java threads and native threads? In Linux there will be Parent process for every child …

java linux jvm multithreading posix
Is assert(false) ignored in release mode?

I am using VC++. Is assert(false) ignored in release mode?

c++ visual-c++ posix assert
How to detect if the current process is being run by GDB?

The standard way would be the following: if (ptrace(PTRACE_TRACEME, 0, NULL, 0) == -1) printf("traced!\n"); In this case ptrace …

c linux gdb posix
Linux and I/O completion ports?

Using winsock, you can configure sockets or seperate I/O operations to "overlap". This means that calls to perform I/…

linux sockets asynchronous posix iocp
Is an atomic file rename (with overwrite) possible on Windows?

On POSIX systems rename(2) provides for an atomic rename operation, including overwriting of the destination file if it exists and …

windows winapi posix
Why does a read-only open of a named pipe block?

I've noticed a couple of oddities when dealing with named pipes (FIFOs) under various flavors of UNIX (Linux, FreeBSD and …

file-io posix named-pipes nonblocking fifo
Differences between System V and Posix semaphores

What are the trade-offs between using a System V and a Posix semaphore?

unix comparison posix semaphore tradeoff
Default field separator for awk

Sorry for this stupid question, searched but not confident is the right answer is found, so the default separator is …

linux unix awk posix separator
Can I assume the size of long int is always 4 bytes?

Is it always true that long int (which as far as I understand is a synonym for long) is 4 bytes? …

c linux types posix
What is the status of POSIX asynchronous I/O (AIO)?

There are pages scattered around the web that describe POSIX AIO facilities in varying amounts of detail. None of them …

linux asynchronous posix bsd aio