C POSIX library Updated 2025-07-16
Quick overview at stackoverflow.com/questions/1780599/what-is-the-meaning-of-posix/31865755#31865755
Exmples under c/posix:
- c/posix/signal_return.c: stackoverflow.com/questions/37063212/where-does-signal-handler-return-back-to
- c/posix/inet/pton.c:
inet_ptondemo. Adapted fromman inet_ptonon Ubuntu 23.04. Usage:Output:./pton.out 192.187.1.42So we see that the strings was converted to an integer, e.g.:0xc0bb012aSee also: stackoverflow.com/questions/1680622/ip-address-to-integer-c/76520978#76520978- 0xc0 = 192
- 0xbb = 187
- 0x01 = 1
- 0x2a = 42
- c/posix/inet/ntop.c:
inet_ntopdemo. Adapted fromman inet_ptonon Ubuntu 23.04. Usage:Output:./ntop.out 0x01021AA0./ntop.out 0x01021AA0