Source: /cirosantilli/c-posix-library

= C POSIX library
{c}
{tag=POSIX}
{wiki}

Quick overview at https://stackoverflow.com/questions/1780599/what-is-the-meaning-of-posix/31865755\#31865755

Exmples under \a[c/posix]:
* \a[c/posix/signal_return.c]: https://stackoverflow.com/questions/37063212/where-does-signal-handler-return-back-to
* \a[c/posix/inet/pton.c]: `inet_pton` demo. Adapted from `man inet_pton` on <Ubuntu 23.04>. Usage:
  ``
  ./pton.out 192.187.1.42
  ``
  Output:
  ``
  0xc0bb012a
  ``
  So we see that the strings was converted to an integer, e.g.:
  * 0xc0 = 192
  * 0xbb = 187
  * 0x01 = 1
  * 0x2a = 42
  See also: https://stackoverflow.com/questions/1680622/ip-address-to-integer-c/76520978\#76520978
* \a[c/posix/inet/ntop.c]: `inet_ntop` demo. Adapted from `man inet_pton` on <Ubuntu 23.04>. Usage:
  ``
  ./ntop.out 0x01021AA0
  ``
  Output:
  ``
  ./ntop.out 0x01021AA0
  ``