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.

Difference between EACCES and EPERM

What is the difference between EACCES and EPERM exactly? EPERM is described here as "not super user", but I would …

c unix language-agnostic posix errno
Posix and intl extension on windows

When I installed Symfony2 sandbox and try to check requirements by check.php I had 2 problems. My server don't have …

php windows posix intl
Return value range of the main function

What does standard say about main return values range? Say only up to 255? Because int main(void){ return 256; } echo $? ; # out 0

c posix c99 exit-code
Attempting to use execvpe(...) but get implicit declaration error - even though I think I'm using the correct argument types

I am getting the following warning when I compile: execute.c:20:2: warning: implicit declaration of function ‘execvpe’[-Wimplicit-function-declaration] execvpe("ls", …

c linux exec posix unistd.h
Running shell script with NSTask causes posix_spawn error

I'm trying to run a shell script with NSTask with the following code: NSTask *task = [[NSTask alloc] init]; [task setLaunchPath:@"/…

objective-c macos shell posix nstask
write function requires unistd.h on Unix, what about windows?

I've changed from a linux computer to a windows and I'm having trouble compiling my code because these two OS …

c windows visual-studio posix unistd.h
What is sigaddset used for?

I have this code where I use sigaddset and sigaction. However if I comment segaddset the result is the same …

c linux signals posix alarm
How to durably rename a file in POSIX?

What's the correct way to durably rename a file in a POSIX file system? Specifically wondering about fsyncs on the …

directory posix rename ext4 fsync
Finding processes using ALSA sound fast

Currently the way /usr/sbin/alsa in Debian knows the processes using the sound card looks like: echo $( \ lsof +D /…

linux shell audio posix alsa
Send and receive IPv6 link-local multicast UDP datagrams in Python?

This following is a straightforward IPv4 UDP broadcast, followed by listening on all interfaces. sock = socket.socket(socket.AF_INET, …

python udp posix ipv6 multicast