Man Pages in libowfat-dev

  1. Carta.tech
  2. Packages
  3. libowfat-dev
  • 343

    Section 3: Library calls

    array.3
    The array library interface
    array_allocate.3
    Make sure array has at least n elements allocated
    array_bytes.3
    Get number of allocated members in array
    array_cat.3
    Append one array to another
    array_cat0.3
    Append 0 byte to an array
    array_catb.3
    Append bytes to an array
    array_cate.3
    Append subset of one array to another array
    array_cats.3
    Append c string to an array
    array_cats0.3
    Append c string to an array
    array_equal.3
    Compare two arrays for equality
    array_fail.3
    Switch array to have failed
    array_get.3
    Get pointer to nth element in array
    array_length.3
    Get number of allocated members in array
    array_reset.3
    Deallocate array
    array_start.3
    Get pointer to first element in array
    array_trunc.3
    Reduce number of initialized bytes
    array_truncate.3
    Reduce number of initialized bytes
    buffer.3
    Generic read/write buffering
    buffer_close.3
    Close buffer
    buffer_feed.3
    Low-level component of buffer_get
    buffer_flush.3
    Feed buffer to write function
    buffer_fromsa.3
    Initialize buffer structure from stralloc
    buffer_get.3
    Read binary data from buffer
    buffer_get_new_token_sa.3
    Read token from buffer
    buffer_get_new_token_sa_pred.3
    Read token from buffer
    buffer_get_token.3
    Read token from buffer
    buffer_get_token_pred.3
    Read token from buffer
    buffer_get_token_sa.3
    Read token from buffer
    buffer_get_token_sa_pred.3
    Read token from buffer
    buffer_getc.3
    Read one char from buffer
    buffer_getline.3
    Read line from buffer
    buffer_getline_sa.3
    Read line from buffer
    buffer_getn.3
    Read binary data from buffer
    buffer_getnewline_sa.3
    Read line from buffer
    buffer_init.3
    Initialize buffer structure
    buffer_init_free.3
    Initialize buffer structure
    buffer_mmapread.3
    Create read-only memory-mapped file buffer
    buffer_peek.3
    Return pointer to string in buffer
    buffer_put.3
    Write binary data to buffer
    buffer_put8long.3
    Write an octal ascii representation of an unsigned long integer to buffer
    buffer_putalign.3
    Write binary data to buffer
    buffer_puterror.3
    Write error string to buffer and flush
    buffer_puterror2.3
    Write error string to buffer and flush
    buffer_putflush.3
    Write binary data to buffer and flush
    buffer_putlong.3
    Write a decimal ascii representation of a signed long integer to buffer
    buffer_putlonglong.3
    Write a decimal ascii representation of a signed long integer to buffer
    buffer_putm.3
    Write asciiz string(s) to buffer
    buffer_putnlflush.3
    Write 'n' to buffer and flush
    buffer_puts.3
    Write asciiz string to buffer
    buffer_putsa.3
    Write stralloc to buffer
    buffer_putsaflush.3
    Write stralloc to buffer and flush
    buffer_putsalign.3
    Write asciiz string to buffer
    buffer_putsflush.3
    Write asciiz string to buffer and flush
    buffer_putspace.3
    Write ascii space to buffer
    buffer_putulong.3
    Write a decimal ascii representation of an unsigned long integer to buffer
    buffer_putulonglong.3
    Write a decimal ascii representation of a signed long integer to buffer
    buffer_putxlong.3
    Write a hexidecimal ascii representation of an unsigned long integer to buffer
    buffer_seek.3
    Remove bytes from beginning of string in buffer
    buffer_tosa.3
    Initialize buffer for writing to stralloc
    byte_chr.3
    Search for a byte in a string
    byte_copy.3
    Copy a string
    byte_copyr.3
    Copy a string
    byte_diff.3
    Compare two strings
    byte_equal.3
    Compare two strings
    byte_rchr.3
    Search for a byte in a string
    byte_zero.3
    Initialize a string
    case_diffb.3
    Compare strings case-insensitively
    case_diffs.3
    Compare strings case-insensitively
    case_lowerb.3
    Compare strings case-insensitively
    case_lowers.3
    Compare strings case-insensitively
    case_starts.3
    Compare prefixes of strings case-insensitively
    cdb_datalen.3
    Get length of data
    cdb_datapos.3
    Get position of data
    cdb_find.3
    Look up a key in a constant database
    cdb_firstkey.3
    Find first physical record in constant database
    cdb_free.3
    Close a constant databased
    cdb_init.3
    Open a constant database
    cdb_keylen.3
    Get length of key
    cdb_keypos.3
    Get position of key
    cdb_nextkey.3
    Find next physical record in constant database
    cdb_read.3
    Read bytes from a constant database
    cdb_successor.3
    Find next record
    dns_ip4.3
    Look up ipv4 addresses
    dns_ip4_packet.3
    Extract ipv4 address from dns answer packet
    dns_ip4_qualify.3
    Qualify name and look up ipv4 addresses
    dns_ip6.3
    Look up ipv6 addresses
    dns_ip6_packet.3
    Extract ipv6 address from dns answer packet
    dns_ip6_qualify.3
    Qualify name and look up ipv6 addresses
    dns_mx.3
    Look up mail exchanger
    dns_mx_packet.3
    Extract mx records from dns answer packet
    dns_name4.3
    Look up host name
    dns_name4_domain.3
    Construct host name for reverse lookup
    dns_name6.3
    Look up host name
    dns_name6_domain.3
    Construct host name for reverse lookup
    dns_name_packet.3
    Extract names from dns answer packet
    dns_txt.3
    Look up txt records
    dns_txt_packet.3
    Extract txt records from dns answer packet
    fmt_8long.3
    Write an octal ascii representation of an unsigned long integer
    fmt_asn1derlength.3
    Encode unsigned integer like asn.1 der length
    fmt_asn1dertag.3
    Encode unsigned integer like asn.1 der tag
    fmt_double.3
    Write an ascii representation of a double
    fmt_fill.3
    Append spaces to a string
    fmt_httpdate.3
    Write a date in ascii as in the http protocol
    fmt_human.3
    Write a human readable ascii representation of a long integer
    fmt_humank.3
    Write a human readable ascii representation of a long integer
    fmt_ip4.3
    Write a formatted ascii representation of an ipv4 number
    fmt_ip6.3
    Write a formatted ascii representation of an ipv6 number
    fmt_ip6_flat.3
    Write a formatted ascii representation of an ipv6 number
    fmt_ip6c.3
    Write a formatted ascii representation of an ipv6 number
    fmt_ip6if.3
    Write a formatted ascii representation of an ipv6 number
    fmt_ip6ifc.3
    Write a formatted ascii representation of an ipv6 number
    fmt_long.3
    Write an ascii representation of a long integer
    fmt_longlong.3
    Write an ascii representation of a long long integer
    fmt_minus.3
    Write '-' for negative integers
    fmt_pad.3
    Pad a string with spaces.
    fmt_plusminus.3
    Write '+' or '-'
    fmt_str.3
    Write an ascii string
    fmt_strm.3
    Write multiple ascii strings
    fmt_strn.3
    Write an ascii string
    fmt_uint.3
    Write an ascii representation of an unsigned integer
    fmt_uint0.3
    Write a zero-padded ascii representation of an unsigned integer
    fmt_ulong.3
    Write an ascii representation of an unsigned long integer
    fmt_ulong0.3
    Write a zero-padded ascii representation of an unsigned long integer
    fmt_ulonglong.3
    Write an ascii representation of an unsigned long long integer
    fmt_utf8.3
    Encode 31-bit unsigned integer using utf-8 rules
    fmt_xlong.3
    Write a hexadecimal ascii representation of an unsigned long integer
    fmt_xlonglong.3
    Write a hexadecimal ascii representation of an unsigned long long integer
    iarray_allocate.3
    Get pointer to nth element in iarray
    iarray_free.3
    Free iarray data structure
    iarray_get.3
    Get pointer to nth element in iarray
    iarray_init.3
    Initialize iarray data structure
    imult16.3
    Integer multiplication with overflow checking
    imult32.3
    Integer multiplication with overflow checking
    imult64.3
    Integer multiplication with overflow checking
    io_appendfile.3
    Open a file for appending
    io_block.3
    Switch to blocking i/o
    io_canread.3
    Return a file descriptor that can be read from
    io_canwrite.3
    Return a file descriptor that can be written to
    io_check.3
    Check for new readable or writable descriptors
    io_close.3
    Close a file descriptor
    io_closeonexec.3
    Mark a file descriptor non-inheritable
    io_createfile.3
    Create a file
    io_dontwantread.3
    Signal that you do not want to read from a descriptor
    io_dontwantwrite.3
    Signal that you do not want to write to a descriptor
    io_eagain.3
    Tell io_wait that you got an eagain
    io_fd.3
    Prepare descriptor for io_wait
    io_fd_canwrite.3
    Prepare descriptor for io_wait
    io_finishandshutdown.3
    Deallocate internal data structures
    io_getcookie.3
    Retrieve cookie
    io_nonblock.3
    Switch to non-blocking i/o
    io_passfd.3
    Pass a file descriptor over a unix domain socket
    io_pipe.3
    Create a unix pipe
    io_readfile.3
    Open a file for reading
    io_readwritefile.3
    Open a file for reading and writing
    io_receivefd.3
    Receive a file descriptor over a unix domain socket
    io_sendfile.3
    Send data from a file to a socket
    io_setcookie.3
    Associate cookie with descriptor
    io_socketpair.3
    Create a pair of sockets
    io_timeout.3
    Set time limit on descriptor
    io_timeouted.3
    Return a file descriptor over deadline
    io_tryread.3
    Read from a descriptor without blocking
    io_tryreadtimeout.3
    Read from a descriptor without blocking
    io_trywrite.3
    Write to a descriptor without blocking
    io_trywritetimeout.3
    Write to a descriptor without blocking
    io_wait.3
    Wait for events
    io_waitread.3
    Read from a descriptor
    io_waituntil.3
    Wait for events
    io_wantread.3
    Signal that you want to read from a descriptor
    io_wantwrite.3
    Signal that you want to write to a descriptor
    iob_addbuf.3
    Add buffer to i/o batch
    iob_addbuf_free.3
    Add buffer to i/o batch, with deallocation
    iob_addfile.3
    Add file region to i/o batch
    iob_addfile_close.3
    Add file region to i/o batch
    iob_adds.3
    Add buffer to i/o batch
    iob_adds_free.3
    Add buffer to i/o batch
    iob_bytesleft.3
    How many bytes are still to be sent?
    iob_free.3
    Free an i/o batch
    iob_new.3
    Create new i/o batch
    iob_prefetch.3
    Prefetch data for i/o batch
    iob_reset.3
    Reset an i/o batch
    iob_send.3
    Send i/o batch
    iob_write.3
    Send i/o batch through callback
    iopause.3
    Check for file descriptor readability or writability
    mmap_private.3
    Memory map a file for reading and writing
    mmap_read.3
    Memory map a file for reading
    mmap_shared.3
    Memory map a file for reading and writing
    mmap_unmap.3
    Unmap an existing memory mapping
    ndelay_off.3
    Put file descriptor in non-blocking mode
    ndelay_on.3
    Put file descriptor in non-blocking mode
    open_append.3
    Open a file for appending
    open_excl.3
    Open a file for exclusive writing
    open_read.3
    Open a file for reading
    open_rw.3
    Open a file for reading and writing
    open_trunc.3
    Open a file for writing
    open_write.3
    Open a file for writing
    openreadclose.3
    Read a whole file into a stralloc
    range_arrayinbuf.3
    Range check for array in buffer
    range_bufinbuf.3
    Range check for buf in buffer
    range_ptrinbuf.3
    Range check pointer in buffer
    range_str2inbuf.3
    Range check for string in buffer
    range_str4inbuf.3
    Range check for string in buffer
    range_strinbuf.3
    Range check for string in buffer
    range_validbuf.3
    Range check buffer
    rangecheck.3
    Pointer range checking
    readclose.3
    Read a whole file into a stralloc
    readclose_append.3
    Read a whole file into a stralloc
    scan_8int.3
    Parse an unsigned integer in octal ascii representation
    scan_8long.3
    Parse an unsigned long integer in octal ascii representation
    scan_8short.3
    Parse an unsigned short integer in octal ascii representation
    scan_asn1derlength.3
    Decode an unsigned integer from asn.1 der length encoding
    scan_asn1dertag.3
    Decode an unsigned integer from asn.1 der length encoding
    scan_charsetnskip.3
    Skip characters from set
    scan_double.3
    Parse a floating point number in decimal ascii representation
    scan_httpdate.3
    Parse a http date
    scan_int.3
    Parse an integer in decimal ascii representation
    scan_ip4.3
    Parse an ipv4 number in dotted-decimal notation
    scan_ip6.3
    Parse an ipv6 number in ascii representation
    scan_ip6_flat.3
    Parse an ipv6 number in flat ascii representation
    scan_ip6if.3
    Parse an ipv6 number and interface in ascii representation
    scan_long.3
    Parse an long integer in decimal ascii representation
    scan_longlong.3
    Parse a long integer in decimal ascii representation
    scan_noncharsetnskip.3
    Skip characters not from set
    scan_nonwhitenskip.3
    Skip non-whitespace
    scan_plusminus.3
    Parse '+' or '-'
    scan_short.3
    Parse an integer in decimal ascii representation
    scan_uint.3
    Parse an unsigned integer in decimal ascii representation
    scan_ulong.3
    Parse an unsigned long integer in decimal ascii representation
    scan_ulonglong.3
    Parse an unsigned long integer in decimal ascii representation
    scan_ushort.3
    Parse an unsigned short integer in decimal ascii representation
    scan_utf8.3
    Decode an unsigned integer from utf-8 encoding
    scan_whitenskip.3
    Skip whitespace
    scan_xint.3
    Parse an unsigned integer in hexadecimal ascii representation
    scan_xlong.3
    Parse an unsigned long integer in hexadecimal ascii representation
    scan_xlonglong.3
    Parse an unsigned long long integer in hexadecimal ascii representation
    scan_xshort.3
    Parse an unsigned short integer in hexadecimal ascii representation
    socket_accept4.3
    Accept an ipv4 tcp connection on a socket
    socket_accept6.3
    Accept an ipv6 tcp connection on a socket
    socket_bind4.3
    Set the local ip address and port of a socket
    socket_bind4_reuse.3
    Set the local ip address and port of a socket
    socket_bind6.3
    Set the local ip address and port of a socket
    socket_bind6_reuse.3
    Set the local ip address and port of a socket
    socket_broadcast.3
    Set udp socket to broadcast mode
    socket_connect4.3
    Attempt to make a tcp connection
    socket_connect6.3
    Attempt to make a tcp connection
    socket_connected.3
    Is a connection established on a socket?
    socket_getifidx.3
    Get interface number
    socket_getifname.3
    Get interface name
    socket_listen.3
    Attempt to make a tcp connection
    socket_local4.3
    Get local ip address of socket
    socket_local6.3
    Get local ip address of socket
    socket_mchopcount6.3
    Set multicast hop count
    socket_mcjoin4.3
    Join a multicast group
    socket_mcjoin6.3
    Join a multicast group
    socket_mcleave4.3
    Leave a multicast group
    socket_mcleave6.3
    Leave a multicast group
    socket_mcloop4.3
    Set multicast loopback
    socket_mcloop6.3
    Set multicast loopback
    socket_mcttl4.3
    Set multicast ttl
    socket_recv4.3
    Receive a udp datagram
    socket_recv6.3
    Receive a udp datagram
    socket_remote4.3
    Get remote ip address of socket
    socket_remote6.3
    Get remote ip address of socket
    socket_sctp4.3
    Create a non-blocking sctp/ip stream socket
    socket_sctp4b.3
    Create a blocking sctp/ip stream socket
    socket_sctp6.3
    Create a non-blocking ipv6 sctp/ip stream socket
    socket_sctp6b.3
    Create a blocking ipv6 sctp/ip stream socket
    socket_send4.3
    Send a udp datagram
    socket_send6.3
    Send a udp datagram
    socket_tcp4.3
    Create a non-blocking tcp/ip stream socket
    socket_tcp4b.3
    Create a blocking tcp/ip stream socket
    socket_tcp6.3
    Create a non-blocking ipv6 tcp/ip stream socket
    socket_tcp6b.3
    Create a blocking ipv6 tcp/ip stream socket
    socket_udp4.3
    Create a non-blocking udp/ip datagram socket
    socket_udp6.3
    Create a non-blocking ipv6 udp/ip datagram socket
    str_chr.3
    Find character in asciiz string
    str_copy.3
    Copy an asciiz string
    str_diff.3
    Compare two asciiz strings
    str_diffn.3
    Compare two asciiz strings
    str_equal.3
    Compare two asciiz strings
    str_len.3
    Find length of asciiz string
    str_rchr.3
    Find character in asciiz string
    str_start.3
    Compare prefixes of strings
    stralloc_0.3
    Append 0 to a stralloc
    stralloc_append.3
    Append a character to a stralloc
    stralloc_cat.3
    Append data to a stralloc
    stralloc_catb.3
    Append data to a stralloc
    stralloc_catlong0.3
    Append an integer to a stralloc
    stralloc_catm.3
    Append string(s) to a stralloc
    stralloc_cats.3
    Append data to a stralloc
    stralloc_catulong0.3
    Append an integer to a stralloc
    stralloc_chomp.3
    Remove trailing cr, lf or crlf
    stralloc_chop.3
    Remove and return last char
    stralloc_copy.3
    Copy data into a stralloc
    stralloc_copyb.3
    Copy data into a stralloc
    stralloc_copym.3
    Copy string(s) to a stralloc
    stralloc_copys.3
    Copy data into a stralloc
    stralloc_diff.3
    Compare two strallocs
    stralloc_diffs.3
    Check if string is prefix of stralloc
    stralloc_free.3
    Free storage associated with a stralloc
    stralloc_init.3
    Initialize a stralloc
    stralloc_ready.3
    Provide space in a stralloc
    stralloc_readyplus.3
    Provide space in a stralloc
    stralloc_starts.3
    Check if string is prefix of stralloc
    stralloc_zero.3
    Set length of stralloc to 0
    tai_add.3
    Add two struct tai
    tai_approx.3
    Return double-precision approximation
    tai_less.3
    Compare two struct tai
    tai_now.3
    Get current time
    tai_pack.3
    Convert to external tai64 format
    tai_sub.3
    Subtract two struct tai
    tai_unpack.3
    Convert to external tai64 format
    taia_add.3
    Add two struct taia
    taia_addsec.3
    Add n seconds to a struct taia
    taia_approx.3
    Return double-precision approximation
    taia_frac.3
    Get current time
    taia_less.3
    Compare two struct taia
    taia_now.3
    Get current time
    taia_pack.3
    Convert to external tai64na format
    taia_sub.3
    Subtract two struct taia
    taia_tai.3
    Get current time
    taia_uint.3
    Convert seconds into struct taia
    taia_unpack.3
    Convert to external tai64na format
    uint16_pack.3
    Write an unsigned little-endian 16-bit integer
    uint16_pack_big.3
    Write an unsigned big-endian 16-bit integer
    uint16_read.3
    Read an unsigned little-endian 16-bit integer
    uint16_read_big.3
    Read an unsigned big-endian 16-bit integer
    uint16_unpack.3
    Read an unsigned little-endian 16-bit integer
    uint16_unpack_big.3
    Read an unsigned big-endian 16-bit integer
    uint32_pack.3
    Write an unsigned little-endian 32-bit integer
    uint32_pack_big.3
    Write an unsigned big-endian 32-bit integer
    uint32_read.3
    Read an unsigned little-endian 32-bit integer
    uint32_read_big.3
    Read an unsigned big-endian 32-bit integer
    uint32_unpack.3
    Read an unsigned little-endian 32-bit integer
    uint32_unpack_big.3
    Read an unsigned big-endian 32-bit integer
    uint64_pack.3
    Write an unsigned little-endian 64-bit integer
    uint64_pack_big.3
    Write an unsigned big-endian 64-bit integer
    uint64_read.3
    Read an unsigned little-endian 64-bit integer
    uint64_read_big.3
    Read an unsigned big-endian 64-bit integer
    uint64_unpack.3
    Read an unsigned little-endian 64-bit integer
    uint64_unpack_big.3
    Read an unsigned big-endian 64-bit integer
    umult16.3
    Integer multiplication with overflow checking
    umult32.3
    Integer multiplication with overflow checking
    umult64.3
    Integer multiplication with overflow checking