PUBLIB(3pub)

πŸ’– NAME πŸ’–

publib β€” the lil intro page to the whole publib situation, bestie. like the vibe-check of the library fr fr πŸ¦‹


✨ SYNOPSIS ✨

#include <publib.h>

πŸŽ€ DESCRIPTION πŸŽ€

okay so publib is literally a library of C functions that are useful in, like, so many programs. no cap. it's giving "extension to the Standard C library" energy β€” specifically the one defined by the ISO/ANSI C standard 9899-1990. πŸ’…

so when you wanna use these functions you gotta do two things, bestie, don't skip steps:

  • #include <publib.h> β€” yes queen, include the header ✨
  • link with the libpub.a library. adding -lpub at the end of your link command should work, if the library has been installed properly. (emphasis on if, iykyk 😭)

and the library is out here providing functions for all of this iconic stuff:

  • string and memory area manipulation 🌸
  • memory allocation 🧚
  • I/O πŸ’œ
  • comparison functions for qsort, bsearch, and others πŸ‘‘
  • expression evaluation πŸ”₯

like, it's a whole meal. ate. periodt. πŸ’–


🌈 AUTHOR 🌈

Publib was originally written by Lars Wirzenius. it is now maintained by Antti-Juhani Kaijanaho (antti-juhani@kaijanaho.fi). 🫢


and that's the whole page, bestie β€” this was PUBLIB(3pub), section 3pub, no notes, go forth and #include <publib.h> πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from