Section 3 of the manual describes all library functions excluding the library functions (system call wrappers) described in Section 2, which implement system calls.

Page 43

cap_func_launcher
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_get_bound
capability manipulation on processes
cap_get_fd
cap_get_file, cap_set_file, cap_get_fd, cap_set_fd - capability manipulation on files
cap_get_file
cap_get_file, cap_set_file, cap_get_fd, cap_set_fd - capability manipulation on files
cap_get_flag
cap_clear, cap_clear_flag, cap_get_flag, cap_set_flag, cap_fill_flag, cap_fill, cap_compare - capability data object manipulation
cap_get_mode
capability manipulation on processes
cap_get_pid
capability manipulation on processes
cap_get_proc
capability manipulation on processes
cap_get_secbits
capability manipulation on processes
cap_iab
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_compare
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_dup
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_fill
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_from_text
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_get_pid
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_get_proc
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_get_vector
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_init
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_set_proc
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_set_vector
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_iab_to_text
#include cap_iab_t cap_iab_init(void); cap_iab_t cap_iab_dup(cap_iab_t iab); cap_iab_t cap_iab_get_proc(void); cap_iab_t cap_iab_get_pid(pid_t pid); int cap_iab_set_proc(cap_iab_t iab); char *cap_iab_to_text(cap_iab_t iab); cap_iab_t cap_iab_from_text(const char *text); cap_flag_value_t cap_iab_get_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val); int cap_iab_compare(cap_iab_t a, cap_iab_t b); int cap_iab_set_vector(cap_iab_t iab, cap_iab_vector_t vec, cap_value_t val, cap_flag_value_t enable); int cap_iab_fill(cap_iab_t iab, cap_iab_vector_t vec, cap_t set, cap_flag_t flag);
cap_init
cap_init, cap_free, cap_dup - capability data object storage management
cap_launch
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_callback
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_set_chroot
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_set_iab
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_set_mode
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_setgroups
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_launcher_setuid
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_max_bits
cap_clear, cap_clear_flag, cap_get_flag, cap_set_flag, cap_fill_flag, cap_fill, cap_compare - capability data object manipulation
cap_mode
capability manipulation on processes
cap_mode_name
capability manipulation on processes
cap_new_launcher
#include cap_launch_t cap_new_launcher(const char *arg0, const char * const *argv, const char * const *envp); cap_launch_t cap_func_launcher(int (callback_fn)(void *detail)); int cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)); int cap_launcher_set_mode(cap_launch_t attr, cap_mode_t flavor); cap_iab_t cap_launcher_set_iab(cap_launch_t attr, cap_iab_t iab); int cap_launcher_set_chroot(cap_launch_t attr, const char *chroot); #include pid_t cap_launch(cap_launch_t attr, void *detail); int cap_launcher_setuid(cap_launch_t attr, uid_t uid); int cap_launcher_setgroups(cap_launch_t attr, gid_t gid, int ngroups, const gid_t *groups);
cap_set_fd
cap_get_file, cap_set_file, cap_get_fd, cap_set_fd - capability manipulation on files
cap_set_file
cap_get_file, cap_set_file, cap_get_fd, cap_set_fd - capability manipulation on files
cap_set_flag
cap_clear, cap_clear_flag, cap_get_flag, cap_set_flag, cap_fill_flag, cap_fill, cap_compare - capability data object manipulation
cap_set_mode
capability manipulation on processes
cap_set_proc
capability manipulation on processes
cap_set_secbits
capability manipulation on processes
cap_setgroups
capability manipulation on processes
cap_setuid
capability manipulation on processes
cap_size
cap_copy_ext, cap_size, cap_copy_int - capability state external representation translation
cap_to_name
cap_from_text, cap_to_text, cap_to_name, cap_from_name - capability state textual representation translation
cap_to_text
cap_from_text, cap_to_text, cap_to_name, cap_from_name - capability state textual representation translation
capgetp
capability manipulation on processes
capng_apply
apply the stored capabilities settings
capng_apply_caps_fd
write file-based capabilities to extended attributes
capng_capability_to_name
convert capability integer to text
capng_change_id
change the credentials retaining capabilities
capng_clear
clear chosen capabilities set
capng_fill
fill chosen capabilities set
capng_get_caps_fd
read file-based capabilities from extended attributes
capng_get_caps_process
get the capabilities from a process
capng_get_rootid
get namespace root id
capng_have_capabilities
capng_have_capabilities, capng_have_permitted_capabilities - check for capabilities
capng_have_capability
check for specific capability
capng_lock
lock the current process capabilities settings
capng_name_to_capability
convert capability text to integer
capng_print_caps_numeric
print numeric values for capabilities set
capng_print_caps_text
print names of values for capabilities set
capng_restore_state
set the internal library state
capng_save_state
get the internal library state
capng_set_rootid
set namespace root id
capng_setpid
set working pid
capng_update
update the stored capabilities settings
capng_updatev
update the stored capabilities settings
capsetp
capability manipulation on processes
carg
carg, cargf, cargl - calculate the complex argument
carg
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
cargf
carg, cargf, cargl - calculate the complex argument
cargf
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
cargl
carg, cargf, cargl - calculate the complex argument
cargl
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
case
Evaluate one of several scripts, depending on a given value
case_diffb
compare strings case-insensitively
case_diffs
compare strings case-insensitively
case_lowerb
compare strings case-insensitively
case_lowers
compare strings case-insensitively
case_starts
compare prefixes of strings case-insensitively
casin
casin, casinf, casinl - complex arc sine
casin
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
casinf
casin, casinf, casinl - complex arc sine
casinf
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
casinh
casinh, casinhf, casinhl - complex arc sine hyperbolic
casinh
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
casinhf
casinh, casinhf, casinhl - complex arc sine hyperbolic
casinhf
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
casinhl
casinh, casinhf, casinhl - complex arc sine hyperbolic
casinhl
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
casinl
casin, casinf, casinl - complex arc sine
casinl
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
cat
tcl::chan::cat - Concatenation channel
catan
catan, catanf, catanl - complex arc tangents
catan
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
catanf
catan, catanf, catanl - complex arc tangents
catanf
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
catanh
catanh, catanhf, catanhl - complex arc tangents hyperbolic
catanh
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux
catanhf
catanh, catanhf, catanhl - complex arc tangents hyperbolic
catanhf
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux