 |
Qore Programming Language Reference Manual
0.9.10
|
171 string basename(
string path);
197 nothing close_all_fd(*softbool strd);
214 string dirname(
string path);
247 nothing exec(
string command);
262 nothing exit(softint rc = 0);
349 list<hash<NetIfInfo>> get_netif_list();
374 list<hash<auto>> getaddrinfo(*
string node, *softstring service, softint family =
AF_UNSPEC, softint flags = 0);
444 list<int> getgroups();
471 *
string gethostbyaddr(
string addr, softint
type =
AF_INET);
478 nothing gethostbyaddr();
512 nothing gethostbyaddr_long();
534 *
string gethostbyname(
string name);
541 nothing gethostbyname();
563 *
hash gethostbyname_long(
string name);
570 nothing gethostbyname_long();
586 string gethostname();
663 int kill(softint pid, softint sig =
SIGHUP);
685 int qore_get_library_options();
700 int qore_set_library_options(
int opts);
740 int setegid(softint gid);
760 int seteuid(softint uid);
780 int setgid(softint gid);
799 nothing setgroups(softlist<softint> gids);
835 int setuid(softint uid);
881 nothing srand(softint seed);
907 string strerror(softint err);
946 int system(
string command);
975 int usleep(softint usecs);
1017 const QLO_DISABLE_GARBAGE_COLLECTION = QLO_DISABLE_GARBAGE_COLLECTION;
1020 const QLO_DISABLE_OPENSSL_CLEANUP = QLO_DISABLE_OPENSSL_CLEANUP;
1022 const QLO_DISABLE_OPENSSL_INIT = QLO_DISABLE_OPENSSL_INIT;
1024 const QLO_DISABLE_SIGNAL_HANDLING = QLO_DISABLE_SIGNAL_HANDLING;
1026 const QLO_DISABLE_TLS_13 = QLO_DISABLE_TLS_13;
1028 const QLO_DO_NOT_SEED_RNG = QLO_DO_NOT_SEED_RNG;
1033 const QLO_RUNTIME_OPTS = QLO_RUNTIME_OPTS;
string type
exception type: "User" or "System"; see Exception Type Constants
Definition: ql_lib.dox.h:50
hash< ExceptionInfo > next
chained exception info
Definition: ql_lib.dox.h:44
int offset
position info: line number offset for the "source" key (if known, for user code only)
Definition: ql_lib.dox.h:46
string type(auto arg)
Returns a string giving the data type of the argument passed; see String Type Constants for the value...
auto err
this key is populated with the value of the first expression of the throw statement....
Definition: ql_lib.dox.h:36
auto arg
this key is populated with the value of the third expression of the throw statement (if a list was th...
Definition: ql_lib.dox.h:28
auto desc
this key is populated with the value of the second expression of the throw statement (if a list was t...
Definition: ql_lib.dox.h:32
const SIGHUP
SIGHUP.
Definition: ql_misc.dox.h:2290
exception information hash
Definition: ql_lib.dox.h:26
string familystr
interface family type string
Definition: ql_lib.dox.h:15
int family
interface family type; see Network Address Family Constants for possible values
Definition: ql_lib.dox.h:13
const AF_INET
IPv4 address family.
Definition: QC_Socket.dox.h:2881
hash< auto > hash(object obj)
Returns a hash of an object's members.
*string address_desc
interface address description (if the address is available)
Definition: ql_lib.dox.h:11
string file
position info: the parse label where exception occurred; this is normally the file name; this corresp...
Definition: ql_lib.dox.h:38
string lang
the language of the source code location; normally "Qore"
Definition: ql_lib.dox.h:40
string source
position info: an optional source string; if multiple sections of a file were parsed with different p...
Definition: ql_lib.dox.h:48
*string address
interface address if available
Definition: ql_lib.dox.h:9
date date(date dt)
Returns the date passed.
const AF_UNSPEC
unspecified address family
Definition: QC_Socket.dox.h:2889
int endline
position info: end line number
Definition: ql_lib.dox.h:34
network interface info hash
Definition: ql_lib.dox.h:7
int line
position info: start line number
Definition: ql_lib.dox.h:42
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
string interface
interface name
Definition: ql_lib.dox.h:17
date seconds(softint seconds)
Returns a relative date/time value in seconds based on the integer argument passed to be used in date...
list< hash< CallStackInfo > > callstack
call stack backtrace information
Definition: ql_lib.dox.h:30