public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* getaddrinfo_a man page: add notification example?
@ 2024-08-21  8:50 Greg Minshall
  2024-08-21 10:36 ` Alejandro Colomar
  0 siblings, 1 reply; 9+ messages in thread
From: Greg Minshall @ 2024-08-21  8:50 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

hi.  first, thanks for the man pages.  always a great resource (in spite
of the --help's of the world).

i recently tried to figure out how to use getaddrinfo_a with its
notification facilities.
----
https://git.sr.ht/~minshall/gai-a
----

the examples in the man page was very helpful to me.
----
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man/man3/getaddrinfo_a.3
----

that there is any example is great, though i can imagine controversial
(because of length).  but ...

> This example shows a simple interactive getaddrinfo_a() front-end.
> The notification facility is not demonstrated.

if there was a desire to expand the asynchronous example to demonstrate
signal and callback notifications, i could take a stab at it.  maybe
adding commands to change the facility (for future requests that
session), or some such.

cheers, and again thanks, Greg

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-01 20:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21  8:50 getaddrinfo_a man page: add notification example? Greg Minshall
2024-08-21 10:36 ` Alejandro Colomar
2024-08-21 13:09   ` Greg Minshall
2024-08-25 10:17   ` Greg Minshall
2024-08-25 10:48     ` Alejandro Colomar
2024-08-25 11:29       ` Greg Minshall
2024-11-01 13:46         ` Alejandro Colomar
2024-11-01 17:57           ` Greg Minshall
2024-11-01 20:01             ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox