form_requestname(3X)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

✨ NAME ✨

okay bestie, welcome to the form_requestname(3X) page β€” yes it’s a library calls moment, and we’re talking about form_request_by_name and form_request_name, the duo that handles printable form request names. πŸ’…


🌸 SYNOPSIS 🌸

#include <form.h>

const char *form_request_name(int request);
int form_request_by_name(const char *name);

πŸŽ€ DESCRIPTION πŸŽ€

so here’s the tea, bestie:

  • form_request_name β€” returns the printable name of a form request code. slay.
  • form_request_by_name β€” searches in the name-table for a request with the given name and returns its request code. otherwise E_NO_MATCH is returned. no cap.

πŸ’– RETURN VALUE πŸ’–

  • form_request_name β€” returns NULL on error and sets errno to E_BAD_ARGUMENT. 😭
  • form_request_by_name β€” returns E_NO_MATCH on error. it does not set errno. periodt.

πŸ¦‹ PORTABILITY πŸ¦‹

these routines are specific to ncurses. they were not supported on Version 7, BSD or System V implementations. it is recommended that any code depending on them be conditioned using NCURSES_VERSION. iykyk. ✨

🌈 AUTHORS 🌈

  • Juergen Pfeifer.
  • Manual pages and adaptation for new curses by Eric S. Raymond.

πŸ‘‘ SEE ALSO πŸ‘‘

  • curses(3X)
  • form(3X)

okay that’s the whole vibe. stay slay, bestie β€” this page is brought to you by ncurses 6.5, dated 2024-12-28. πŸ’œπŸ«Ά

πŸ“¦ where this page comes from