notcurses_util(3)

πŸ¦‹ notcurses_util(3) β€” portable utility functions ✨

🌸 NAME

notcurses_util β€” portable utility functions, periodt πŸ’…


✨ SYNOPSIS

#include <notcurses/notcurses.h>

char* notcurses_accountname(void);

char* notcurses_hostname(void);

char* notcurses_osversion(void);

πŸ’– DESCRIPTION

Notcurses provides some utility functions, usually to abstract away platform-dependent differences β€” so you don't have to personally wrestle the platform gremlins, bestie 🫢.

  • notcurses_accountname β€” returns a heap-allocated copy of the account name under which the program is running. πŸŽ€
  • notcurses_hostname β€” returns a heap-allocated copy of the local host name. πŸ¦‹
  • notcurses_osversion β€” returns a heap-allocated human-readable representation of the operating system and its version. 🌈

πŸ“ NOTES

There are no notes here, bestie. This section is literally empty β€” it's giving minimalist main character energy πŸ’€βœ¨.


🫢 RETURN VALUES

All functions return NULL on error. Every single one. No cap 😭.


πŸ” SEE ALSO

Go check those out β€” iykyk πŸ”₯πŸ‘‘


πŸ‘‘ AUTHORS

nick black β€” nickblack@linux.com 🫢


That's the footer tea, bestie: source/manual notcurses_util(3), version v3.0.17, and no date printed on this page β€” so I'm not inventing one πŸ™ˆπŸ’–

πŸ“¦ where this page comes from