Module glib::functions [−][src]
Functions
access | |
application_name | |
assert_warning | |
assertion_message | |
assertion_message_cmpstr | |
base64_decode | |
base64_encode | |
bit_nth_lsf | |
bit_nth_msf | |
bit_storage | |
build_filenamev | Behaves exactly like |
build_pathv | Behaves exactly like |
canonicalize_filename | v2_58 Gets the canonical file name from |
chdir | A wrapper for the POSIX |
check_version | Checks that the GLib library in use is compatible with the
given version. Generally you would pass in the constants
|
clear_error | If |
codeset | |
compute_checksum_for_bytes | Computes the checksum for a binary |
compute_checksum_for_data | Computes the checksum for a binary |
compute_checksum_for_string | Computes the checksum of a string. |
compute_hmac_for_bytes | v2_50 Computes the HMAC for a binary |
compute_hmac_for_data | Computes the HMAC for a binary |
compute_hmac_for_string | Computes the HMAC for a string. |
console_charset | v2_62 |
dcgettext | |
dgettext | |
dngettext | |
dpgettext | |
dpgettext2 | |
environ | |
file_get_contents | |
file_open_tmp | |
file_read_link | |
file_set_contents | |
file_set_contents_full | v2_66 |
file_test | |
filename_display_basename | |
filename_display_name | |
format_size | |
format_size_full | |
host_name | |
hostname_is_ascii_encoded | |
hostname_is_ip_address | |
hostname_is_non_ascii | |
hostname_to_ascii | |
hostname_to_unicode | |
language_names | |
language_names_with_category | v2_58 |
listenv | |
locale_variants | |
main_current_source | |
main_depth | |
markup_escape_text | |
mkdir_with_parents | |
mkdtemp | |
mkdtemp_full | |
mkstemp_full | |
monotonic_time | |
num_processors | |
on_error_query | |
on_error_stack_trace | |
os_info | v2_64 |
path_get_basename | |
path_get_dirname | |
path_is_absolute | |
path_skip_root | |
pattern_match_simple | |
random_double | |
random_double_range | |
random_int | |
random_int_range | |
random_set_seed | |
real_time | |
reload_user_special_dirs_cache | |
return_if_fail_warning | |
rmdir | |
set_application_name | |
shell_parse_argv | Parses a command line into an argument vector, in much the same way
the shell would, but without many of the expansions the shell would
perform (variable expansion, globs, operators, filename expansion,
etc. are not supported). The results are defined to be the same as
those you would get from a UNIX98 /bin/sh, as long as the input
contains none of the unsupported shell expansions. If the input
does contain such expansions, they are passed through
literally. Possible errors are those from the |
shell_quote | Quotes a string so that the shell (/bin/sh) will interpret the
quoted string to mean |
shell_unquote | Unquotes a string as the shell (/bin/sh) would. Only handles
quotes; if a string contains file globs, arithmetic operators,
variables, backticks, redirections, or other special-to-the-shell
features, the result will be different from the result a real shell
would produce (the variables, backticks, etc. will be passed
through literally instead of being expanded). This function is
guaranteed to succeed if applied to the result of
|
spaced_primes_closest | Gets the smallest prime number from a built-in array of primes which
is larger than |
spawn_async | See |
spawn_check_exit_status | Set |
spawn_command_line_async | Unix A simple version of |
stpcpy | Copies a nul-terminated string into the dest buffer, include the trailing nul, and return a pointer to the trailing nul byte. This is useful for concatenating multiple strings together without having to repeatedly scan for the end. |
system_config_dirs | |
system_data_dirs | |
unlink | A wrapper for the POSIX |
user_cache_dir | |
user_config_dir | |
user_data_dir | |
user_runtime_dir | |
user_special_dir | |
usleep | Pauses the current thread for the given number of microseconds. |
uuid_string_is_valid | v2_52 Parses the string |
uuid_string_random | v2_52 Generates a random UUID (RFC 4122 version 4) as a string. It has the same
randomness guarantees as |
warn_message | Internal function used to print messages from the public |