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.

why does ioctl return "bad address"

I use the the code below to output data from SPI port of an embedded board (olimex imx233-micro -- …

c linux posix ioctl
How do I synchronize access to shared memory in LynxOS/POSIX?

I am implementing two processes on a LynxOS SE (POSIX conformant) system that will communicate via shared memory. One process …

c ipc posix shared-memory lynxos
Signal handling and sigemptyset()

Could anyone please explain in a really easy way to understand what sigemptyset() does? Why is it useful? I've read …

c process signals posix
Convert size_t to string

I'm trying to write a TCP server which a client can use to browse the server's directories. In addition to …

c linux posix stat size-t
How can I convert a windows path to posix path using node path

I'm developing on windows, but need to know how to convert a windows path (with backslashes \) into a POSIX path …

javascript node.js windows posix
What are some interesting C/C++ libraries to play around with?

I'm looking for a few new libraries and for C and C++. In the past most of the time I "…

c++ c posix libraries
Retrieve Linux Time using struct timespec

Can someone please suggest how can I retrieve linux time using struct timespec ts type? It just gives me time …

c linux posix timespec
Use GNU versions of basename() and dirname() in C source

How do I use the GNU C Library version of basename() and dirname()?. If you #include <libgen.h> …

c posix gnu dirname
Is there really no asynchronous block I/O on Linux?

Consider an application that is CPU bound, but also has high-performance I/O requirements. I'm comparing Linux file I/O …

linux asynchronous posix overlapped-io
Is there a standard way to convert a struct timeval into a struct timespec?

struct timeval represents and instant in time with two members, tv_sec (seconds) and tv_usec (microseconds). In this representation, …

c unix posix timeval timespec