Linux Manuals session 3
Section 3: library functions
-
-
getdns_context_create_with_memory_functions (3) Linux Manual Page
NAME getdns_context, getdns_context_create, getdns_context_create_with_memory_functions, getdns_context_create_with_extended_memory_functions, getdns_context_destroy, getdns_context_get_api_information — getdns context create and destroy routines LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_context_create (getdns_context ** context, int set_from_os) getdns_return_t getdns_context_create_with_memory_functions (getdns_context ** context, int set_from_os, void *(*malloc) (size_t), void *(*realloc) (void *, size_t), void (*free) (void *)) getdns_return_t getdns_context_create_with_extended_memory_functions (getdns_context **context, int set_from_os,…
-
getdns_context_create_with_extended_memory_functions (3) Linux Manual Page
NAME getdns_context, getdns_context_create, getdns_context_create_with_memory_functions, getdns_context_create_with_extended_memory_functions, getdns_context_destroy, getdns_context_get_api_information — getdns context create and destroy routines LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_context_create (getdns_context ** context, int set_from_os) getdns_return_t getdns_context_create_with_memory_functions (getdns_context ** context, int set_from_os, void *(*malloc) (size_t), void *(*realloc) (void *, size_t), void (*free) (void *)) getdns_return_t getdns_context_create_with_extended_memory_functions (getdns_context **context, int set_from_os,…
-
getdns_context_create (3) Linux Manual Page
NAME getdns_context, getdns_context_create, getdns_context_create_with_memory_functions, getdns_context_create_with_extended_memory_functions, getdns_context_destroy, getdns_context_get_api_information — getdns context create and destroy routines LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_context_create (getdns_context ** context, int set_from_os) getdns_return_t getdns_context_create_with_memory_functions (getdns_context ** context, int set_from_os, void *(*malloc) (size_t), void *(*realloc) (void *, size_t), void (*free) (void *)) getdns_return_t getdns_context_create_with_extended_memory_functions (getdns_context **context, int set_from_os,…
-
getdns_context (3) Linux Manual Page
NAME getdns_context, getdns_context_create, getdns_context_create_with_memory_functions, getdns_context_create_with_extended_memory_functions, getdns_context_destroy, getdns_context_get_api_information — getdns context create and destroy routines LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_context_create (getdns_context ** context, int set_from_os) getdns_return_t getdns_context_create_with_memory_functions (getdns_context ** context, int set_from_os, void *(*malloc) (size_t), void *(*realloc) (void *, size_t), void (*free) (void *)) getdns_return_t getdns_context_create_with_extended_memory_functions (getdns_context **context, int set_from_os,…
-
getdns_cancel_callback (3) Linux Manual Page
NAME getdns_cancel_callback — cancel an outstanding asyn getdns request LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_cancel_callback (getdns_context_t context, getdns_transaction_t *transaction_id) DESCRIPTION To cancel an outstanding callback, use getdns_cancel_callback. This causes the API to call the callback with a callback_type of GETDNS_CALLBACK_CANCEL if the callback for this transaction_id has not already been…
-
getdns_address_sync (3) Linux Manual Page
NAME getdns_address, getdns_address_sync — get ip address(es) for a name LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_address (getdns_context *context, const char *name, getdns_dict *extensions, void *userarg, getdns_transaction_t *transaction_id, getdns_callback_t callbackfn) getdns_return_t getdns_address_sync (getdns_context *context, const char *name, getdns_dict *extensions, getdns_dict **response) DESCRIPTION The getdns_address(3) and getdns_address_sync functions provide public entry points…
-
getdns_address (3) Linux Manual Page
NAME getdns_address, getdns_address_sync — get ip address(es) for a name LIBRARY DNS Resolver library (libgetdns, -lgetdns) SYNOPSIS #include <getdns.h> getdns_return_t getdns_address (getdns_context *context, const char *name, getdns_dict *extensions, void *userarg, getdns_transaction_t *transaction_id, getdns_callback_t callbackfn) getdns_return_t getdns_address_sync (getdns_context *context, const char *name, getdns_dict *extensions, getdns_dict **response) DESCRIPTION The getdns_address(3) and getdns_address_sync functions provide public entry points…
-
getdirentries (3) Linux Manual Page
NAME getdirentries – get directory entries in a filesystem-independent format SYNOPSIS #include <dirent.h> ssize_t getdirentries(int fd, char *buf, size_t nbytes , off_t *basep); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getdirentries(): Since glibc 2.19: _DEFAULT_SOURCE Glibc 2.19 and earlier: _BSD_SOURCE || _SVID_SOURCE DESCRIPTION Read directory entries from the directory specified by fd into buf. At…
-
getdelim (3) Linux Manual Page
NAME getline, getdelim – delimited string input SYNOPSIS #include <stdio.h> ssize_t getline(char **lineptr, size_t *n, FILE *stream); ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _GNU_SOURCE DESCRIPTION getline() reads an entire line from stream, storing the address…
-
getdate_r (3) Linux Manual Page
NAME getdate, getdate_r – convert a date-plus-time string to broken-down time SYNOPSIS #include <time.h> struct tm *getdate(const char *string); extern int getdate_err; #include <time.h> int getdate_r(const char *string, struct tm *res); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getdate(): _XOPEN_SOURCE >= 500 getdate_r(): _GNU_SOURCE DESCRIPTION The function getdate() converts a string representation of a date and…
-
getdate_err (3) Linux Manual Page
NAME getdate, getdate_r – convert a date-plus-time string to broken-down time SYNOPSIS #include <time.h> struct tm *getdate(const char *string); extern int getdate_err; #include <time.h> int getdate_r(const char *string, struct tm *res); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getdate(): _XOPEN_SOURCE >= 500 getdate_r(): _GNU_SOURCE DESCRIPTION The function getdate() converts a string representation of a date and…
-
getdate (3) Linux Manual Page
NAME getdate, getdate_r – convert a date-plus-time string to broken-down time SYNOPSIS #include <time.h> struct tm *getdate(const char *string); extern int getdate_err; #include <time.h> int getdate_r(const char *string, struct tm *res); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getdate(): _XOPEN_SOURCE >= 500 getdate_r(): _GNU_SOURCE DESCRIPTION The function getdate() converts a string representation of a date and…
-
getdata64 (3) Linux Manual Page
NAME getdata64 — retrieve data from a dirfile database with largefile support SYNOPSIS #define _LARGEFILE64_SOURCE #include <getdata.h> size_t getdata64(DIRFILE *dirfile, const char *field_code, off64_t first_frame, off64_t first_sample, size_t num_frames, size_t num_samples, gd_type_t return_type, void *data_out); DESCRIPTION This version of getdata(3) uses a 64-bit offset type, even if off_t is a 32-bit type. It is only…
-
getdata (3) Linux Manual Page
NAME getdata — retrieve data from a dirfile database SYNOPSIS #include <getdata.h> size_t getdata(DIRFILE *dirfile, const char *field_code, off_t first_frame, off_t first_sample, size_t num_frames, size_t num_samples, gd_type_t return_type, void *data_out); DESCRIPTION The getdata() function queries a dirfile(5) database specified by dirfile for the field field_code. It fetches num_frames frames plus num_samples samples from this field,…
-
getcwd (3) Linux Manual Page
NAME getcwd, getwd, get_current_dir_name – get current working directory SYNOPSIS #include <unistd.h> char *getcwd(char *buf, size_t size); char *getwd(char *buf); char *get_current_dir_name(void); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): get_current_dir_name(): _GNU_SOURCE getwd(): Since glibc 2.12: (_XOPEN_SOURCE >= 500) && !(_POSIX_C_SOURCE & nbsp; >= 200809L) || /* Glibc since 2.19: */ _DEFAULT_SOURCE…
-
getcovariance (3) Linux Manual Page
NAME ql/math/matrixutilities/getcovariance.hpp – Covariance matrix calculation. SYNOPSIS #include <ql/math/matrix.hpp> #include <ql/utilities/dataformatters.hpp> #include <ql/math/matrixutilities/pseudosqrt.hpp> Classes class CovarianceDecomposition Covariance decomposition into correlation and variances. Functions template<class DataIterator > Disposable< Matrix > getCovariance (DataIterator stdDevBegin, DataIterator stdDevEnd, const Matrix &corr, Real tolerance=1.0e-12) Calculation of covariance from correlation and standard deviations. Detailed Description Covariance matrix calculation. Author Generated automatically…
-
getcontext (3) Linux Manual Page
NAME getcontext, setcontext – get or set the user context SYNOPSIS #include <ucontext.h> int getcontext(ucontext_t *ucp); int setcontext(const ucontext_t *ucp); DESCRIPTION In a System V-like environment, one has the two types mcontext_t and ucontext_t defined in <ucontext.h> and the four functions getcontext(), setcontext(), makecontext(3), and swapcontext(3) that allow user-level context switching between multiple threads of…
-
getcon_raw (3) Linux Manual Page
NAME getcon, getprevcon, getpidcon – get SELinux security context of a process freecon, freeconary – free memory associated with SELinux security contexts getpeercon – get security context of a peer socket setcon – set current security context of a process SYNOPSIS #include <selinux/selinux.h> int getcon(char **context); int getcon_raw(char **context); int getprevcon(char **context); int getprevcon_raw(char **context);…
-
getcon (3) Linux Manual Page
NAME getcon, getprevcon, getpidcon – get SELinux security context of a process freecon, freeconary – free memory associated with SELinux security contexts getpeercon – get security context of a peer socket setcon – set current security context of a process SYNOPSIS #include <selinux/selinux.h> int getcon(char **context); int getcon_raw(char **context); int getprevcon(char **context); int getprevcon_raw(char **context);…
