Knowledgebase
  • Welcome!
  • Threats
    • Software
      • Malware
      • Ransomware
      • Macros
    • Hardware
      • Flipper Zero
        • Firmware
          • 🐬flipperzero
            • Getting Started
          • 🐬flipper-xtreme
            • Wiki
              • Key Combos
              • Generic Guides
              • iButton key file format
              • SubGhz
              • How to add new SubGHz frequencies
              • Sub-GHz Remote
              • LF RFID key file format
              • NFC Flipper File Formats
              • Infrared Flipper File Formats
              • BadKB
              • Asset Packs
              • Unit tests
              • OTA Updates
              • How To Build
              • Hardware Targets
              • Flipper Build Tool
              • FAP (Flipper Application Package)
              • Flipper Application Manifests (.fam)
          • 🐬roguemaster
          • 🐬unleashed
    • Human
      • Advanced Persistent Threats (APTs)
      • Social engineering
      • Phishing
      • Typosquatting
    • Disinformation
      • Black Propaganda
      • White Propaganda
      • Grey Propaganda
      • Info Warfare
      • Political Warfare
      • Astroturfing
      • Greenwashing
      • Bluewashing
      • Whisper Campaigns
      • Push Polling
      • "Joe Jobs"
      • False Flags
      • Deep Fakes
  • About
    • Ports
      • 20
      • 21
      • 22
      • 23
      • 25
      • 587
      • 2323
      • 53
      • 80
      • 194
  • Tools
    • Radio Frequency & SubGHZ
      • gnuradio
      • hackrf
    • Digital Forensics
      • afflib
    • Reverse Engineering
      • binwalk
      • radare2
    • Hardware & Virtualization
      • qemu
      • freerdp2
      • util-linux
      • lvm2
    • VPN Providers
      • ProtonVPN
      • NordVPN
      • ExpressVPN
      • Surfshark
      • CyberGhost
      • Private Internet Access
    • Database, Cloud, & Firewalls
      • sqlmap
      • cewl
      • gobuster
      • fwbuilder
      • clamav
    • Enumeration & Lists
      • crunch
      • aflplusplus
      • ffuf
      • maltego
        • maltego-teeth
      • getallurls
    • Penetration Testing
      • beef-xss
      • wifite
      • burpsuite
      • metasploit-framework
    • Passwords & Auth
      • john
      • hashcat
      • hydra
      • cryptsetup
    • Surface Intelligence
      • theharvester
      • subfinder
      • dsniff
      • dnsrecon
      • dirb
      • nikto
      • legion
      • spiderfoot
    • Networks & Wireless
      • nmap
      • impacket-scripts
      • tcpdump
      • traceroute
      • wireshark
      • responder
      • aircrack-ng
      • netcat
      • kismet
      • ubertooth
      • routersploit
      • apache2
      • ettercap
      • bettercap
      • bettercap-ui
      • freeradius
      • bind9
      • samba
      • net-snmp
      • tcpreplay
    • Social Media
      • sherlock
    • Miscellaneous
      • git
      • libnfc
      • llvm-defaults
  • Operating Systems
    • Ubuntu
      • Installation
        • Switching
          • From Windows
          • From macOS
          • From a different Linux
        • Applications
        • Ubuntu PreInstalled
    • Linux Mint
      • Installation Guide
        • Verify your ISO image
        • Choose the right edition
        • Boot Linux Mint
        • Create the bootable media
        • Install Linux Mint
        • Hardware drivers
        • Language support
        • EFI
        • Multimedia codecs
        • System snapshots
        • Pre-installing Linux Mint (OEM Installation)
        • Where to find help
        • Boot options
        • Partitioning
        • Multi-boot
      • User Guide
        • Grub Boot Menu
        • Snap Store
        • Chromium
        • Bluetooth
        • Windows ISOs and multiboot USB
        • How to upgrade to Linux Mint 20
        • Edge ISO Images
        • Lost Password
        • Upgrades
        • Printers and Scanners
        • How to upgrade to Linux Mint 21
      • Troubleshooting Guide
        • Expectation
        • Responsibility
        • Change
        • Reproducibility
        • Observation
        • Environment
        • What
        • When
        • Why
        • Errors
        • Where
        • How
      • Translation Guide
        • Using Launchpad
        • Verify your translations
        • Localization
      • Developer Guide
        • Getting Started
          • Setup
          • Technology
        • Mint Tools
        • Cinnamon
        • XApps
        • Development
          • Daily Builds
          • Coding Guidelines
          • Optimizing JS with Cinnamon
          • Building
    • Kali Linux
      • Installation
        • Installing Kali Linux
        • Bare-bones Kali
        • Installing Kali on Mac Hardware
        • Dual Booting Kali with Linux
        • Making a Kali Bootable USB Drive
        • Dual Booting Kali with macOS/OS X
        • Dual Booting Kali with Windows
        • BTRFS Install (Kali Unkaputtbar)
        • Deploying Kali over Network PXE/iPXE Install
      • Virtualization
        • Running Kali Linux as a Virtual Machine in Windows
        • Installing VMware on Apple Silicon (M1/M2) Macs (Host)
        • Customizing a Kali Vagrant Vagrantfile
        • Kali inside Proxmox (Guest VM)
        • Installing VMware on Kali (Host)
        • Installing VirtualBox on Kali (Host)
        • Import Pre-Made Kali VMware VM
        • Kali inside Parallels (Guest VM)
        • Kali inside Vagrant (Guest VM)
        • Kali inside VMware (Guest VM)
        • Kali inside VirtualBox (Guest VM)
        • Import Pre-Made Kali VirtualBox VM
        • Kali inside Hyper-V (Guest VM)
        • Kali inside UTM (Guest VM)
        • Kali inside QEMU/LibVirt with virt-manager (Guest VM)
        • Improving Virtual Machine Performance for VMware
        • Installing VMware Tools (Guest Tools)
        • Installing VirtualBox Guest Addition (Guest Tools)
        • Installing Hyper-V Enhanced Session Mode (Guest Tools)
        • Converting VMX to an OVA
      • USB
        • Making a Kali Bootable USB Drive (Linux)
        • Making a Kali Bootable USB Drive (macOS/OS X)
        • Updating Kali Linux on USB
        • Making a Kali Bootable USB Drive on Windows
        • Standalone Kali Linux 2021.4 Installation on a USB Drive, Fully Encrypted
        • Adding Persistence to a Kali Linux Live USB Drive
        • Adding Encrypted Persistence to a Kali Linux Live USB Drive
        • USB Boot in VirtualBox
        • USB Boot in VMware
      • Kali On ARM
        • BeagleBone Black
        • Acer Tegra Chromebook 13" (Nyan)
        • ASUS Chromebook Flip (Veyron)
        • Banana Pro
        • Banana Pi
        • CubieBoard2
        • CuBox-i4Pro
        • CubieTruck (CubieBoard3)
        • Gateworks Newport
        • CuBox
        • Gateworks Ventana
        • NanoPi NEO Plus2
        • NanoPi2
        • Mini-X
        • NanoPC-T3
        • ODROID-C0/C1/C1+
        • ODROID-XU3
        • ODROID-U2/U3
        • ODROID-C2
        • Pinebook
      • Containers
        • Kali Linux LXC/LXD Images
        • Official Kali Linux Docker Images
        • Installing Docker on Kali Linux
        • Using Kali Linux Docker Images
        • Using Kali Linux Podman Images
      • WSL
        • Win-KeX SL
        • Win-KeX ESM
        • Preparing a system for WSL
        • Win-KeX
        • Win-KeX Win
      • Cloud
        • Digital Ocean
        • AWS
        • Azure
        • Linode
      • Kali NetHunter
        • Installing NetHunter On the OnePlus 7
        • Installing NetHunter On the Gemini PDA
        • Installing NetHunter
        • Installing NetHunter On the TicWatch Pro 3
        • Installing NetHunter On the TicWatch Pro
        • NetHunter Application - Terminal
        • NetHunter BadUSB Attack
        • NetHunter Bluetooth-Arsenal
        • NetHunter Chroot Manager
        • NetHunter Components
        • NetHunter Custom Commands
        • NetHunter Home Screen
        • NetHunter DuckHunter Attacks
        • NetHunter HID Keyboard Attacks
        • NetHunter Exploit Database SearchSploit
        • NetHunter Kali Services
        • NetHunter MAC Changer
        • NetHunter MANA Evil Access Point
        • NetHunter Man In The Middle Framework
        • NetHunter KeX Manager
      • Tools
        • Installing Tor Browser on Kali Linux
        • Kali Tools
        • Installing snapd on Kali Linux
        • Metasploit Framework
        • Installing Flatpak on Kali Linux
        • Submitting tools to Kali
        • Removed Tools From Kali
      • Troubleshooting
        • Discovering Problems With Download Speed
        • Common Cloud Based Setup Information
        • The Basics of Troubleshooting
        • Troubleshooting Installations Failures
        • Troubleshooting Wireless Drivers
        • Minimum Install Setup Information
      • Kali Development
        • Contributing run-time tests with autopkgtest
        • Custom CuBox Image
        • Custom Beaglebone Black Image
        • Custom EfikaMX Image
        • Custom Chromebook Image
        • Custom MK/SS808 Image
        • Custom Raspberry Pi Image
        • Custom ODROID X2 U2 Image
        • Setting up a system for packaging
        • Intermediate packaging step-by-step example
        • Introduction to packaging step-by-step example
        • Getting the best out of the Kali Bot
        • Advanced Packaging Step-By-Step Example (FinalRecon & Python-icmplib)
        • Generate an Updated Kali ISO
        • Creating A Custom Kali ISO
        • Building Custom Kali ISOs
        • Rebuilding a Source Package
        • Recompiling the Kali Linux Kernel
        • ARM Build Scripts
        • Preparing a Kali Linux ARM chroot
    • Arch Linux
      • Installation Guide
      • Frequently Asked Questions
      • General Recommendations
      • Applications
        • Office & Docs
        • Internet
        • Multimedia
        • Science
        • Security
        • Utilities
        • Others
      • Arch compared to other distributions
    • NetBSD
      • Calls and Errors
      • Libraries
      • Lua Modules
      • Devices and Drivers
  • Law, Policy, and Ethics
    • Fair Use
    • DMCA
      • 🗄️Notable Cases
        • MGM Studios Inc. v. Grokster, Ltd.
        • Viacom International, Inc v YouTube, Inc
        • Capitol Records, Inc. v. Thomas-Rasset
        • Perfect 10, Inc. v. Amazon.com
        • Recording Industry Association of America (RIAA) v. Diamond Multimedia Systems, Inc.
        • A&M Records, Inc. v. Napster, Inc.
        • BMG Music v. Gonzalez
        • Sony Computer Entertainment America (SCEA) v. Connectix Corp.
        • Columbia Pictures Industries, Inc. v. Fung
        • Warner Bros. Entertainment Inc. v. RDR Books
        • BMG Music v. John Doe
        • Universal Music Group v. Veoh Networks, Inc.
        • Universal Music Group v. MySpace, Inc.
        • UMG Recordings, Inc. v. MP3.com, Inc.
        • Cartoon Network LP v. CSC Holdings, Inc.
        • Metro-Goldwyn-Mayer Studios Inc. v. Grokster, Ltd.
        • Viacom International Inc. v. Google Inc.
        • Tiffany (NJ) Inc. v. eBay Inc.
        • Perfect 10, Inc. v. Visa International Service Association
        • Universal City Studios Productions LLLP v. Reimerdes
        • Recording Industry Association of America (RIAA) v. Lime Group LLC
        • Sony BMG Music Entertainment v. Tenenbaum
        • Viacom International Inc. v. Time Warner Cable Inc.
        • UMG Recordings, Inc. v. Shelter Capital Partners LLC
        • Sony Computer Entertainment America Inc. v. Bleem LLC
        • Universal City Studios, Inc. v. Corley
        • Ticketmaster Corp. v. Tickets.com, Inc.
        • Authors Guild, Inc. v. Google, Inc.
        • Perfect 10, Inc. v. Cybernet Ventures, Inc.
        • Tiffany (NJ) Inc. v. Ningbo Beyond Home Textile Co., Ltd.
        • Google Inc. v. American Blind & Wallpaper Factory, Inc.
        • Columbia Pictures Industries, Inc. v. Redd Horne, Inc.
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Operating Systems
  2. NetBSD

Libraries

INTRO(3)                NetBSD Library Functions Manual               INTRO(3)




     intro -- introduction to the system libraries




     This section provides an overview of the system libraries, their func-
     tions, error returns and other common definitions and concepts.  Most of
     these functions are available from the standard C library, libc.  Other
     libraries, such as the math library, libm, must be indicated at compile
     time with the -l option of the compiler.

     The various system libraries supplied in NetBSD (followed by the linker
     flags) are:

     libasn1 (-lasn1)
                 The abstract syntax notation (ASN) library provides routines
                 for the specification of abstract data types.

     libbz2 (-lbz2)
                 Block-sorting compressor library providing routines for fast
                 and efficient compression.

     libc (-lc)  The standard C library.  When using the C compiler cc(1), it
                 is not necessary to supply the linker flag -lc for these
                 functions.  There are several subsystems included inside
                 libc:

                 standard I/O routines
                         see stdio(3)

                 database routines
                         see db(3)

                 bit operators
                         see bitstring(3)

                 string operators
                         see string(3)

                 character tests and character operators

                 encryption and hash routines
                         see md4(3) and md5(3).

                 storage allocation
                         see mpool(3) and malloc(3)

                 time functions
                         see time(3)

                 signal handling
                         see signal(3)

     libcom_err (-lcom_err)
                 The common error description library.  See com_err(3).

     libcompat (-lcompat)
                 Functions which are obsolete but are available for compati-
                 bility with 4.3BSD.  In particular, a number of system call
                 interfaces provided in previous releases of BSD have been
                 included for source code compatibility.  Use of these rou-
                 tines should, for the most part, be avoided.  The manual page
                 entry for each compatibility routine indicates the proper
                 interface to use.

     libcrypt (-lcrypt)
                 The crypt library.  See crypt(3).

     libcrypto (-lcrypto)
                 The OpenSSL cryptographic library.  See crypto(7).

     libcurses (-lcurses -lterminfo)
                 Terminal independent screen management routines for two
                 dimensional non-bitmap display terminals.  See curses(3).

     libdes (-ldes)
                 The OpenSSL cryptographic library for the DES algorithms.
                 See des(3).

     libdm (-ldm)
                 The device-mapper driver access library used for communica-
                 tion with kernel driver dm(4) and for lvm(8) subsystem.

     libedit (-ledit)
                 The command-line editor or editline library.  The editline
                 library provides generic editing and history functions.  See
                 editline(3).

     libform (-lform)
                 The curses form library provides a terminal-independent form
                 system using the curses library.  The form library provides
                 facilities for defining forms on terminals.  See forms(3).

     libgssapi (-lgssapi)
                 The Generic Security Services (GSS) API library.  This
                 library provides verification services to applications and
                 usually sits above the cryptographic libraries.

     libhesiod (-lhesiod)
                 The Hesiod library.  This library provides routines for per-
                 forming lookups of Hesiod information, which is stored as
                 text records in the Domain Name Service.  See hesiod(3).

     libhdb (-lhdb)
                 The Heimdal Kerberos 5 authentication/authorisation database
                 access library.

     libintl (-lintl)
                 The internationalized message handling library.  See
                 gettext(3).

     libipsec (-lipsec)
                 The IPsec policy control library.  See ipsec_set_policy(3)
                 and ipsec_strerror(3).

     libkadm5clnt (-lkadm5clnt)
                 The Kerberos 5 administration client library.

     libkadm5srv (-lkadm5srv)
                 The Kerberos 5 administration server library.  See
                 kadm5_pwcheck(3).

     libkafs (-lkafs)
                 The Kerberos IV AFS library.  See kafs(3).

     libkdb (-lkdb)
                 The Kerberos IV authentication/authorisation database access
                 library.

     libkrb (-lkrb)
                 The Kerberos IV library.

     libkrb5 (-lkrb5)
                 The Kerberos 5 library.  See krb5(3).

     libkstream (-lkstream)
                 Kerberos IV encrypted stream library.

     libkvm (-lkvm)
                 Kernel data access library.  See kvm(3).

     libl (-ll)  The library for lex(1).

     libm (-lm)  The math library.  See math(3).

     libmenu (-lmenu)
                 The curses menu library.  See menus(3).

     libnvmm (-lnvmm)
                 NetBSD Virtualization API.  See libnvmm(3).

     libossaudio (-lossaudio)
                 Open Sound System compatibility library.  See ossaudio(3).

     libpanel (-lpanel)
                 The curses panel library.  See panel(3).

     libpcap (-lpcap)
                 The packet capture library.  See pcap(3).

     libpci (-lpci)
                 The PCI bus access library.  See pci(3).

     libposix (-lposix)
                 The POSIX compatibility library provides a compatibility
                 interface for POSIX functions which differ from the standard
                 BSD interfaces.  See chown(2) and rename(2).

     libresolv (-lresolv)
                 The DNS resolver library.

     librmt (-lrmt)
                 Remote magnetic tape library.  See rmtops(3).

     libroken (-lroken)
                 A library containing compatibility functions used by Ker-
                 beros.  It implements functionality required by the Kerberos
                 implementation not implemented in the standard NetBSD
                 libraries.

     librpcsvc (-lrpcsvc)
                 The Remote Procedure Call (RPC) services library.  See
                 rpc(3).

     libskey (-lskey)
                 The S/Key one-time password library.  See skey(3).

     libsl (-lsl)

     libss (-lss)

     libssl (-lssl)
                 The secure sockets layer (SSL) library.  See ssl(7).

     libtelnet (-ltelnet)
                 The telnet library.

     libterminfo (-lterminfo)
                 The terminal-independent operation library.  See terminfo(3).

     libusbhid (-lusbhid)
                 The Universal Serial Bus (USB) Human Interface Devices access
                 library.  See libusbhid(3).

     libutil (-lutil)
                 The system utilities library.  See util(3).

     libwrap (-lwrap)
                 The TCP wrappers library.  See hosts_access(3).

     liby (-ly)  The library for yacc(1).

     libz (-lz)  General-purpose compression library.  See zlib(3).




     cc(1), ld(1), nm(1), rtld(1), intro(2)




     An intro manual appeared in Version 7 AT&T UNIX.

NetBSD 10.99                    April 14, 2021                    NetBSD 10.99
PreviousCalls and ErrorsNextLua Modules

Last updated 2 years ago

Was this helpful?