型定義 | |
typedef int | sig_atomic_t |
関数 | |
char * | getsmbpass (const char *prompt) |
static int | tcgetattr (int fd, struct termio *_t) |
static int | tcsetattr (int fd, int flags, struct termio *_t) |
static int | tcgetattr (int fd, struct sgttyb *_t) |
static int | tcsetattr (int fd, int flags, struct sgttyb *_t) |
static void | catch_signal (int signum, void(*handler)(int)) |
void | getsmbpasswd_dummy (void) |
変数 | |
static struct termio | t |
static struct sgttyb | t |
static struct termios | t |
typedef int sig_atomic_t |
char * getsmbpass | ( | const char * | prompt | ) |
static int tcgetattr | ( | int | fd, | |
struct termio * | _t | |||
) | [static] |
static int tcsetattr | ( | int | fd, | |
int | flags, | |||
struct termio * | _t | |||
) | [static] |
static int tcgetattr | ( | int | fd, | |
struct sgttyb * | _t | |||
) | [static] |
static int tcsetattr | ( | int | fd, | |
int | flags, | |||
struct sgttyb * | _t | |||
) | [static] |
static void catch_signal | ( | int | signum, | |
void(*)(int) | handler | |||
) | [static] |
00130 { 00131 #ifdef HAVE_SIGACTION 00132 struct sigaction act; 00133 struct sigaction oldact; 00134 00135 memset(&act, 0, sizeof(act)); 00136 00137 act.sa_handler = handler; 00138 #ifdef SA_RESTART 00139 /* 00140 * We *want* SIGALRM to interrupt a system call. 00141 */ 00142 if(signum != SIGALRM) 00143 act.sa_flags = SA_RESTART; 00144 #endif 00145 sigemptyset(&act.sa_mask); 00146 sigaddset(&act.sa_mask,signum); 00147 sigaction(signum,&act,&oldact); 00148 return oldact.sa_handler; 00149 #else /* !HAVE_SIGACTION */ 00150 /* FIXME: need to handle sigvec and systems with broken signal() */ 00151 return signal(signum, handler); 00152 #endif 00153 }
struct termio t [static] |
参照元 _srv_net_remote_tod()・account_show()・add_to_file_list()・ads_krb5_mk_req()・afs_decode_token()・api_NetRemoteTOD()・bsd_attr_list()・byteReverse()・construct_printer_info_0()・convert_time_t_to_timespec()・create_policy_hnd()・create_workgroup()・current_timestring()・dfs_auth()・display_finfo()・display_stat()・dns_negotiate_gss_ctx_int()・EntryTime()・expandNextArg()・fetch_group_mem_info()・fill_job_info_1()・fill_job_info_2()・fill_printjob_info()・gencache_get()・get_sequence_for_reply()・get_ticket_cache()・idmap_cache_map_id()・idmap_cache_map_sid()・init_sec_ace()・logon_hours_ok()・LPRng_time()・lsa_io_dom_r_ref()・lsa_io_trans_names()・lsa_io_trans_names2()・make_auth_context_text_list()・make_dos_date()・make_pw_chat()・make_unix_date3()・MD5Update()・multihomed_register_name()・net_time()・net_time_set()・net_time_system()・net_time_zone()・netsamlogon_cache_get()・netsamlogon_cache_store()・nt_time_string()・poptConfigFileToString()・poptGetContext()・print_time_access_check()・process()・pull_dos_date3()・readline_callback()・refresh_sequence_number()・reply_lanman1()・reply_lanman2()・reply_nt1()・resolve_wins()・run_attrtest()・run_nbench()・run_test()・set_sequence_can_delete_flag()・singleOptionHelp()・smb_arc4_crypt()・smb_io_utime()・smb_pam_passchange_conv()・smbldap_delete_state()・smbldap_find_state()・smbldap_store_state()・spoolss_notify_submitted_time()・store_sequence_for_reply()・str_list_substitute()・talloc_sub_advanced()・talloc_sub_basic()・timeout_processing()・timeval_until()・wcache_get_creds()・wcache_remove_oldest_cached_creds()・wins_processing_traverse_fn()・wins_refresh_name()・wins_release_name().