Bash
5.0-beta2
Bash - Bourne Again shell
|
#include "stdc.h"
#include "bashtypes.h"
#include "chartypes.h"
#include <strings.h>
#include "xmalloc.h"
Go to the source code of this file.
Data Structures | |
struct | g_list |
struct | STRING_INT_ALIST |
Macros | |
#define | NULL 0x0 |
#define | pointer_to_int(x) (int)((char *)x - (char *)0) |
#define | savestring(x) (char *)strcpy (xmalloc (1 + strlen (x)), (x)) |
#define | member(c, s) ((c) ? ((char *)mbschr ((s), (c)) != (char *)NULL) : 0) |
#define | whitespace(c) (((c) == ' ') || ((c) == '\t')) |
#define | CHAR_MAX 0x7f |
#define | CHAR_BIT 8 |
#define | TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) |
#define | TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) |
#define | INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) |
#define | INT_STRLEN_BOUND(t) |
#define | INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) |
#define | legal_variable_starter(c) (ISALPHA(c) || (c == '_')) |
#define | legal_variable_char(c) (ISALNUM(c) || c == '_') |
#define | spctabnl(c) ((c) == ' ' || (c) == '\t' || (c) == '\n') |
#define | REVERSE_LIST(list, type) |
#define | FASTCOPY(s, d, n) memcpy ((d), (s), (n)) |
#define | STREQ(a, b) ((a)[0] == (b)[0] && strcmp(a, b) == 0) |
#define | STREQN(a, b, n) |
#define | STRLEN(s) (((s) && (s)[0]) ? ((s)[1] ? ((s)[2] ? strlen(s) : 2) : 1) : 0) |
#define | FREE(s) do { if (s) free (s); } while (0) |
#define | MEMBER(c, s) (((c) && c == (s)[0] && !(s)[1]) || (member(c, s))) |
#define | RESIZE_MALLOCED_BUFFER(str, cind, room, csize, sincr) |
#define | _FUNCTION_DEF |
#define | SH_FUNCTION_TYPEDEF |
#define | NOW ((time_t) time ((time_t *) 0)) |
#define | FS_EXISTS 0x1 |
#define | FS_EXECABLE 0x2 |
#define | FS_EXEC_PREFERRED 0x4 |
#define | FS_EXEC_ONLY 0x8 |
#define | FS_DIRECTORY 0x10 |
#define | FS_NODIRS 0x20 |
#define | FS_READABLE 0x40 |
#define | HIGH_FD_MAX 256 |
#define | ABSPATH(x) ((x)[0] == '/') |
#define | RELPATH(x) ((x)[0] != '/') |
#define | ROOTEDPATH(x) (ABSPATH(x)) |
#define | DIRSEP '/' |
#define | ISDIRSEP(c) ((c) == '/') |
#define | PATHSEP(c) (ISDIRSEP(c) || (c) == 0) |
Typedefs | |
typedef struct g_list | GENERIC_LIST |
typedef int | Function() |
typedef void | VFunction() |
typedef char * | CPFunction() |
typedef char ** | CPPFunction() |
typedef int sh_intfunc_t | __P((int)) |
typedef int | QSFUNC() |
Functions | |
void posix_initialize | __P ((int)) |
int all_digits | __P ((const char *)) |
int legal_number | __P ((const char *, intmax_t *)) |
int importable_function_name | __P ((const char *, size_t)) |
int check_identifier | __P ((WORD_DESC *, int)) |
int valid_nameref_value | __P ((const char *, int)) |
int check_selfref | __P ((const char *, char *, int)) |
void check_dev_tty | __P ((void)) |
int move_to_high_fd | __P ((int, int, int)) |
int sh_openpipe | __P ((int *)) |
char *make_absolute | __P ((const char *, const char *)) |
char *base_pathname | __P ((char *)) |
char *trim_pathname | __P ((char *, int)) |
char *extract_colon_unit | __P ((char *, int *)) |
char *bash_tilde_find_word | __P ((const char *, int, int *)) |
int group_member | __P ((gid_t)) |
#define NULL 0x0 |
Definition at line 53 of file general.h.
Referenced by _malloc_unblock_signals(), _nl_expand_alias(), _nl_find_domain(), _nl_find_msg(), _nl_free_domain_conv(), _nl_getenv(), _nl_init_domain_conv(), _nl_load_domain(), _nl_locale_name(), _nl_log_untranslated(), _rl_abort_internal(), _rl_copy_to_kill_ring(), _rl_copy_undo_entry(), _rl_free_saved_history_line(), _rl_function_of_keyseq_internal(), _rl_handle_signal(), _rl_init_locale(), _rl_init_terminal_io(), _rl_input_available(), _rl_isearch_dispatch(), _rl_kill_kbd_macro(), _rl_parse_colors(), _rl_pop_executing_macro(), _rl_prep_non_filename_text(), _rl_print_color_indicator(), _rl_print_prefix_color(), _rl_read_file(), _rl_release_sigwinch(), _rl_start_using_history(), _rl_strindex(), _rl_strip_prompt(), _rl_strpbrk(), absolute_program(), add_history(), add_links(), add_to_index(), all_local_variables(), all_shell_functions(), all_shell_variables(), all_variables_matching_prefix(), alloc_history_entry(), alloc_mail_file(), alloc_undo_entry(), ansic_quote(), ansicstr(), ansiexpand(), append_process(), array_add(), array_create(), asprintf(), assign_in_env(), assign_random(), basename_builtin(), bash_special_tilde_expansions(), bcoalesce(), begin_unwind_frame(), beyond(), bind_arrow_keys(), bind_int_variable(), bind_tempenv_variable(), bind_variable_internal(), bind_variable_value(), boolean_varname(), builtin_address(), builtin_address_internal(), builtin_handler(), call_expand_word_internal(), calloc(), cb_linehandler(), cfree(), check_mail(), check_selfref(), cleanup_dead_jobs(), cleanup_the_pipeline(), clear_history(), clear_unwind_protect_list(), clear_unwind_protects_internal(), command_generator(), command_substitute(), compute_lcd_of_matches(), conf_standard_path(), copy_bucket_array(), copy_builtin(), copy_case_clauses(), copy_command(), copy_history_entry(), copy_if_command(), copy_redirects(), copy_simple_command(), copy_string_array(), copy_word_list(), cprintf(), create_variable_tables(), current_builtin(), current_history(), delete_job(), delete_var(), dequote_string(), describe_pid(), dirspell(), discard_last_procsub_child(), discard_unwind_frame(), dispose_exec_redirects(), dispose_partial_redirects(), dispose_saved_dollar_vars(), dispose_temporary_env(), do_assignment_internal(), do_piping(), do_redirections(), enable_mypid_builtin(), evalexp(), execute_builtin(), execute_builtin_or_function(), execute_command(), execute_command_internal(), execute_disk_command(), execute_for_command(), execute_function(), execute_if_command(), execute_in_subshell(), execute_null_command(), execute_pipeline(), execute_shell_script(), execute_simple_command(), exp0(), expand_arith_string(), expand_char(), expand_prompt_string(), expand_string(), expand_string_assignment(), expand_string_for_pat(), expand_string_for_rhs(), expand_string_if_necessary(), expand_string_internal(), expand_string_leave_quoted(), expand_string_to_string_internal(), expand_string_unsplit(), expand_word(), expand_word_internal(), expand_word_leave_quoted(), expand_word_list_internal(), expassign(), expr_bind_variable(), expr_streval(), extend_alias_table(), extract_colon_unit(), extract_delimited_string(), extract_dollar_brace_string(), extract_info(), extract_plural_expression(), falarm(), fileman_completion(), find_command(), find_directive(), find_global_variable(), find_global_variable_noref(), find_nameref_at_context(), find_pipeline(), find_shell_builtin(), find_shell_variable(), find_special_builtin(), find_tempenv_variable(), find_token_in_alist(), find_variable_internal(), find_variable_last_nameref_context(), find_variable_nameref_context(), flush_temporary_env(), fpurge(), free(), free_dollar_vars(), free_mail_files(), free_plural_expression(), free_trap_strings(), full_pathname(), get_bash_command(), get_charset_aliases(), get_dollar_var_value(), get_epochrealtime(), get_group_array(), get_group_list(), get_history_event(), get_history_word_specifier(), get_job_by_pid(), get_name_for_error(), get_string_value(), get_subst_pattern(), get_sysdep_segment_value(), get_tmpdir(), get_var_and_type(), get_variable_value(), get_word_from_string(), get_working_directory(), getcstr(), getpattern(), give_terminal_to(), glob_expand_word_list(), groupnum(), guess_category_value(), hash_copy(), hash_create(), hash_flush(), hash_insert(), hash_lookup(), hash_remove(), hash_search(), hash_walk(), head_builtin(), history_arg_extract(), history_expand_internal(), history_filename(), history_find_word(), history_get(), history_get_time(), history_tokenize(), history_tokenize_internal(), history_truncate_file(), id_builtin(), id_prall(), id_prgroups(), id_prgrp(), id_pruser(), if(), ignore_globbed_names(), init_funcname_var(), init_seconds_var(), init_signames(), initialize_dynamic_variables(), initialize_job_signals(), initialize_shell_signals(), initialize_shell_variables(), initialize_signames(), initialize_terminating_signals(), initialize_traps(), input_avail(), internal_getopt(), internal_malloc(), internal_realloc(), kill_all_local_variables(), libintl_bind_textdomain_codeset(), libintl_bindtextdomain(), libintl_dcgettext(), libintl_dcigettext(), libintl_gettext(), libintl_ngettext(), libintl_textdomain(), list_append(), list_remove_pattern(), list_rest_of_args(), list_reverse(), list_string(), list_transform(), locale_charset(), localetrans(), mailstat(), main(), make_arith_command(), make_arith_for_command(), make_bare_simple_command(), make_child(), make_command(), make_cond_command(), make_default_mailpath(), make_env_array_from_var_list(), make_func_export_array(), make_here_document(), make_history_line_current(), make_local_variable(), make_pattern_list(), make_redirection(), make_select_command(), make_var_export_array(), make_variable_value(), makunbound(), malloc(), map_over(), map_over_funcs(), match_pattern(), maybe_make_export_env(), mbschr(), memalign(), mempcpy(), mindist(), mkdir_builtin(), named_function_string(), new_exp(), new_exp_0(), new_fd_bitmap(), new_shell_variable(), new_var_context(), next_history(), next_row(), notify_of_job_status(), param_expand(), parameter_brace_casemod(), parameter_brace_expand(), parameter_brace_expand_indir(), parameter_brace_expand_length(), parameter_brace_expand_rhs(), parameter_brace_expand_word(), parameter_brace_patsub(), parameter_brace_remove_pattern(), parameter_brace_substring(), parameter_brace_transform(), parameter_list_remove_pattern(), parameter_list_transform(), parse_and_execute(), parse_mailpath_spec(), parse_plural_expression(), parse_prologue(), parse_string(), parseflags(), parser_error(), perl_main(), phash_search(), pop_dollar_vars(), pop_scope(), pop_var_context(), pos_params(), pos_params_modcase(), pos_params_pat_subst(), previous_history(), print_builtin(), print_deferred_heredocs(), print_function_def(), print_pipeline(), print_redirection_list(), print_sig(), print_var_function(), printable_filename(), printsome(), process_line(), push_builtin(), push_dollar_vars(), push_scope(), push_var_context(), read_alias_file(), read_command(), read_comsub(), read_history_range(), read_man_page(), reader_loop(), readline(), readline_initialize_everything(), readline_internal_teardown(), readtok(), realloc(), realloc_jobs_list(), redir_varvalue(), redirection_expand(), redraw_prompt(), remember_args(), remember_mail_dates(), remove_duplicate_matches(), remove_history(), remove_history_range(), remove_pattern(), remove_unwind_protect(), replace_history_entry(), reset_internal_getopt(), reset_locale_vars(), reset_or_restore_signal_handlers(), reset_terminating_signals(), restore_default_signal(), restore_pipeline(), rl_add_funmap_entry(), rl_alphabetic(), rl_bind_keyseq_if_unbound_in_map(), rl_bracketed_paste_begin(), rl_callback_handler_remove(), rl_callback_read_char(), rl_complete_internal(), rl_completion_matches(), rl_expand_prompt(), rl_filename_completion_function(), rl_free_line_state(), rl_free_undo_list(), rl_funmap_names(), rl_gather_tyi(), rl_get_keymap_by_name(), rl_get_keymap_name(), rl_get_next_history(), rl_get_previous_history(), rl_get_termcap(), rl_getc(), rl_gets(), rl_history_search_internal(), rl_history_search_reinit(), rl_initialize(), rl_insert_close(), rl_insert_text(), rl_invoking_keyseqs_in_map(), rl_macro_dumper(), rl_make_bare_keymap(), rl_maybe_save_line(), rl_maybe_unsave_line(), rl_menu_complete(), rl_message(), rl_modifying(), rl_named_function(), rl_old_menu_complete(), rl_re_read_init_file(), rl_set_keymap_name(), rl_set_prompt(), rl_set_signals(), rl_unbind_function_in_map(), rl_unbind_key(), rl_unbind_key_in_map(), rl_username_completion_function(), rl_vi_replace(), run_sigchld_trap(), run_unwind_frame(), run_unwind_protects(), run_unwind_protects_internal(), same_file(), save_dollar_vars(), save_pipeline(), scan_escape(), scan_expression(), scan_format(), scan_request(), scan_table(), seedrand(), separate_out_assignments(), seq_builtin(), set_binding_values(), set_default_locale(), set_default_locale_vars(), set_deftext(), set_job_status_and_cleanup(), set_locale_var(), set_pwd(), setup_ignore_patterns(), sh_canonpath(), sh_getopt(), sh_mktmpfd(), sh_mktmpfp(), sh_mktmpname(), sh_physpath(), sh_realpath(), sh_seedrand(), sh_setlinebuf(), shell_execve(), shell_expand_word_list(), shell_glob_filename(), signal_name(), sigstat(), skip_to_delim(), stifle_history(), stop_pipeline(), strchr(), strdup(), strftime(), string_extract(), string_list_internal(), string_transform(), string_var_assignment(), string_varname(), strings(), strip_trailing_ifs_whitespace(), strlist_append(), strlist_copy(), strlist_create(), strlist_merge(), strlist_resize(), strlist_to_word_list(), strrchr(), strsub(), strvec_copy(), strvec_from_word_list(), strvec_to_word_list(), subexpr(), sv_ignoreeof(), sv_locale(), sv_optind(), tee_builtin(), term(), termsig_handler(), test_command(), throw_to_top_level(), tilde_initialize(), unbind_variable(), undo_partial_redirects(), ungetc_with_restart(), update_line(), user_command_matches(), validate_path(), valloc(), var_lookup(), vlist_add(), vlist_alloc(), wait_for(), wait_for_single_pid(), weeknumber(), word_list_split(), word_split(), write_here_document(), write_longdocs(), xbotch(), xstrmatch(), yyparse(), zgetline(), and zmapfd().
Definition at line 73 of file general.h.
Referenced by get_history_event(), history_expand(), history_expand_internal(), history_tokenize_internal(), history_tokenize_word(), locale_setblanks(), parameter_brace_expand(), readtok(), skip_to_delim(), and yyparse().
#define CHAR_MAX 0x7f |
Definition at line 84 of file general.h.
Referenced by groupnum().
#define INT_BITS_STRLEN_BOUND | ( | b | ) | (((b) * 146 + 484) / 485) |
#define INT_STRLEN_BOUND | ( | t | ) |
Definition at line 109 of file general.h.
Referenced by bind_var_to_int(), cprintf(), execute_command_internal(), expr_bind_variable(), genformat(), itos(), mitos(), parameter_brace_remove_pattern(), posix_initialize(), print_intseq(), set_ppid(), sh_set_lines_and_columns(), sv_locale(), uidset(), and uitos().
#define INT_BUFSIZE_BOUND | ( | t | ) | (INT_STRLEN_BOUND (t) + 1) |
Definition at line 125 of file general.h.
Referenced by assignment(), get_var_and_type(), legal_identifier(), mk_env_string(), parameter_brace_expand(), parameter_brace_expand_rhs(), and readtok().
Definition at line 126 of file general.h.
Referenced by assignment(), legal_identifier(), mk_env_string(), param_expand(), and readtok().
Definition at line 130 of file general.h.
Referenced by get_word_from_string(), skip_to_delim(), and strip_trailing_ifs_whitespace().
#define REVERSE_LIST | ( | list, | |
type | |||
) |
Definition at line 147 of file general.h.
Referenced by append_process(), clean_simple_command(), copy_case_clauses(), copy_redirects(), glob_expand_word_list(), list_remove_pattern(), list_rest_of_args(), list_string(), list_transform(), make_case_command(), make_pattern_list(), shell_expand_word_list(), skip_to_delim(), stop_pipeline(), strip_trailing_ifs_whitespace(), strvec_to_word_list(), and yyparse().
Definition at line 156 of file general.h.
Referenced by bcopy(), copy_command(), copy_redirect(), cprintf(), evalexp(), internal_realloc(), make_here_document(), restore_variable(), strcreplace(), string_list_internal(), sub_append_string(), unwind_protect_mem_internal(), and xbcopy().
#define STREQ | ( | a, | |
b | |||
) | ((a)[0] == (b)[0] && strcmp(a, b) == 0) |
Definition at line 166 of file general.h.
Referenced by _rl_init_eightbit(), _rl_isearch_dispatch(), _rl_parse_colors(), binary_test(), check_selfref(), execute_case_command(), execute_for_command(), execute_in_subshell(), execute_simple_command(), expand_word_internal(), find_index_in_alist(), find_mail_file(), find_string_in_alist(), fix_assignment_words(), glob_expand_word_list(), hash_remove(), hash_search(), initialize_shell_variables(), locale_isutf8(), localetrans(), main(), parse_and_execute(), parse_long_options(), parser_error(), path_is_devfd(), push_posix_tempvar_internal(), rl_history_search_internal(), rl_menu_complete(), run_startup_files(), search_for_command(), setup_ignore_patterns(), sh_stat(), show_shell_usage(), strvec_remove(), sv_globignore(), unwind_frame_discard_internal(), unwind_frame_run_internal(), unwind_protect_tag_on_stack(), utf8locale(), vlist_add(), and yyparse().
#define STREQN | ( | a, | |
b, | |||
n | |||
) |
Definition at line 167 of file general.h.
Referenced by _rl_bracketed_text(), _rl_isearch_dispatch(), add_or_supercede_exported_var(), all_variables_matching_prefix(), decode_signal(), display_signal_list(), extract_delimited_string(), history_expand_internal(), history_search_internal(), initialize_shell_variables(), locale_isutf8(), main(), make_here_document(), path_is_devfd(), rl_insert_comment(), rl_username_completion_function(), rl_vi_yank_pop(), rl_yank_pop(), set_working_directory(), sh_stat(), skip_to_delim(), strsub(), update_line(), and yyparse().
#define STRLEN | ( | s | ) | (((s) && (s)[0]) ? ((s)[1] ? ((s)[2] ? strlen(s) : 2) : 1) : 0) |
Definition at line 171 of file general.h.
Referenced by all_variables_matching_prefix(), assign_bash_argv0(), dequote_string(), execute_for_command(), extract_delimited_string(), get_word_from_string(), list_string(), make_variable_value(), match_upattern(), mk_env_string(), optimized_assignment(), parameter_brace_expand_length(), parameter_brace_transform(), pat_subst(), print_pipeline(), remove_upattern(), strcreplace(), string_list_internal(), strip_trailing_ifs_whitespace(), strlist_prefix_suffix(), sub_append_string(), update_export_env_inplace(), write_here_string(), and yyparse().
Definition at line 172 of file general.h.
Referenced by _rl_free_history_entry(), _rl_init_terminal_io(), _rl_isearch_fini(), _rl_kill_kbd_macro(), _rl_nsearch_dosearch(), _rl_pop_executing_macro(), _rl_read_init_file(), _rl_revert_all_lines(), _rl_scxt_dispose(), add_history_time(), assign_bash_argv0(), assign_in_env(), bind_args(), bind_tempenv_variable(), bind_variable_internal(), bind_variable_value(), command_substitute(), compute_lcd_of_matches(), discard_pipeline(), dispose_fd_bitmap(), dispose_function_def_contents(), dispose_mail_file(), dispose_var_context(), dispose_variable_value(), dispose_word(), dolink(), evalexp(), execute_case_command(), execute_command_internal(), execute_disk_command(), execute_env_file(), execute_for_command(), execute_if_command(), execute_in_subshell(), execute_simple_command(), exp0(), expand_arith_string(), expand_prompt_string(), expand_string_assignment(), expand_string_internal(), expand_word_internal(), expassign(), expr_streval(), find_in_path_element(), find_user_command_in_path(), free_dollar_vars(), free_history_entry(), free_saved_dollar_vars(), get_bash_argv0(), get_bash_command(), get_bashpid(), get_epochrealtime(), get_epochseconds(), get_funcname(), get_history_event(), get_lineno(), get_mypid(), get_random(), get_seconds(), get_subshell(), get_working_directory(), here_document_to_fd(), history_do_write(), history_expand_internal(), history_find_word(), history_truncate_file(), if(), initialize_shell_variables(), make_arith_for_command(), makunbound(), param_expand(), parameter_brace_casemod(), parameter_brace_expand(), parameter_brace_expand_error(), parameter_brace_expand_length(), parameter_brace_expand_word(), parameter_brace_patsub(), parameter_brace_remove_pattern(), parameter_brace_substring(), parameter_brace_transform(), pop_scope(), postprocess_matches(), push_posix_tempvar_internal(), read_comsub(), read_history_range(), readtok(), redirection_error(), restore_lastcom(), rl_complete_internal(), rl_do_undo(), rl_expand_prompt(), rl_filename_completion_function(), rl_maybe_replace_line(), rl_menu_complete(), rl_message(), rl_old_menu_complete(), rl_print_last_kbd_macro(), rl_restore_prompt(), rl_set_prompt(), rl_username_completion_function(), rl_yank_nth_arg_internal(), set_default_locale_vars(), set_lang(), set_locale_var(), set_shell_name(), set_working_directory(), shell_execve(), shell_glob_filename(), skip_to_delim(), string_extract_verbatim(), subexpr(), sv_combegin(), sv_emacs_modestr(), sv_isrchterm(), sv_vicmd_modestr(), sv_viins_modestr(), uidget(), user_command_matches(), write_here_string(), xtrace_print_assignment(), and yyparse().
Definition at line 173 of file general.h.
Referenced by string_extract(), and string_extract_verbatim().
#define RESIZE_MALLOCED_BUFFER | ( | str, | |
cind, | |||
room, | |||
csize, | |||
sincr | |||
) |
Definition at line 183 of file general.h.
Referenced by execute_command_internal(), if(), indent(), pat_subst(), read_comsub(), strcreplace(), strsub(), yyparse(), and zmapfd().
#define NOW ((time_t) time ((time_t *) 0)) |
Definition at line 248 of file general.h.
Referenced by assign_seconds(), get_epochseconds(), get_seconds(), main(), reset_mail_timer(), strftime_builtin(), and time_to_check_mail().
#define FS_EXISTS 0x1 |
Definition at line 251 of file general.h.
Referenced by file_status(), find_absolute_program(), find_in_path_element(), and search_for_command().
#define FS_EXECABLE 0x2 |
Definition at line 252 of file general.h.
Referenced by executable_file(), executable_or_directory(), file_status(), find_absolute_program(), find_in_path_element(), get_bash_name(), and search_for_command().
#define FS_EXEC_PREFERRED 0x4 |
Definition at line 253 of file general.h.
Referenced by find_in_path_element(), find_user_command(), and search_for_command().
#define FS_EXEC_ONLY 0x8 |
Definition at line 254 of file general.h.
Referenced by find_absolute_program(), and find_in_path_element().
#define FS_DIRECTORY 0x10 |
Definition at line 255 of file general.h.
Referenced by executable_file(), executable_or_directory(), file_status(), find_in_path_element(), and is_directory().
#define FS_NODIRS 0x20 |
Definition at line 256 of file general.h.
Referenced by find_in_path_element(), find_user_command(), find_user_command_in_path(), and search_for_command().
#define FS_READABLE 0x40 |
Definition at line 257 of file general.h.
Referenced by file_status(), find_in_path_element(), and find_path_file().
#define HIGH_FD_MAX 256 |
Definition at line 260 of file general.h.
Referenced by getmaxfd(), and move_to_high_fd().
#define ABSPATH | ( | x | ) | ((x)[0] == '/') |
Definition at line 273 of file general.h.
Referenced by absolute_pathname(), full_pathname(), get_bash_name(), make_absolute(), sh_physpath(), and sh_realpath().
#define RELPATH | ( | x | ) | ((x)[0] != '/') |
Definition at line 274 of file general.h.
Referenced by get_bash_name().
#define ROOTEDPATH | ( | x | ) | (ABSPATH(x)) |
Definition at line 280 of file general.h.
Referenced by sh_canonpath().
#define DIRSEP '/' |
Definition at line 282 of file general.h.
Referenced by sh_canonpath(), and sh_physpath().
Definition at line 284 of file general.h.
Referenced by sh_canonpath(), and sh_physpath().
Definition at line 288 of file general.h.
Referenced by absolute_pathname(), path_dot_or_dotdot(), sh_canonpath(), and sh_physpath().
typedef struct g_list GENERIC_LIST |
void posix_initialize __P | ( | (int) | ) |
int all_digits __P | ( | (const char *) | ) |
int legal_number __P | ( | (const char *, intmax_t *) | ) |
int importable_function_name __P | ( | (const char *, size_t) | ) |
int check_identifier __P | ( | (WORD_DESC *, int) | ) |
int valid_nameref_value __P | ( | (const char *, int) | ) |
int check_selfref __P | ( | (const char *, char *, int) | ) |
void check_dev_tty __P | ( | (void) | ) |
int move_to_high_fd __P | ( | (int, int, int) | ) |
int sh_openpipe __P | ( | (int *) | ) |
char* make_absolute __P | ( | (const char *, const char *) | ) |
char* base_pathname __P | ( | (char *) | ) |
char* trim_pathname __P | ( | (char *, int) | ) |
char* extract_colon_unit __P | ( | (char *, int *) | ) |
char* bash_tilde_find_word __P | ( | (const char *, int, int *) | ) |
int group_member __P | ( | (gid_t) | ) |