From: Greg Minshall <minshall@umich.edu>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: getaddrinfo_a man page: add notification example?
Date: Wed, 21 Aug 2024 11:50:07 +0300 [thread overview]
Message-ID: <728184.1724230207@archlinux> (raw)
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
next reply other threads:[~2024-08-21 8:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 8:50 Greg Minshall [this message]
2024-08-21 10:36 ` getaddrinfo_a man page: add notification example? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=728184.1724230207@archlinux \
--to=minshall@umich.edu \
--cc=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox