11 int main(
int argc,
char *argv[]) {
16 long l_thread_complete = 0;
20 memset(request, 0,
sizeof(request));
24 "lcd_display_service",
25 "LCD 4x20 Display Provider." 37 }
else if (argc == 2) {
38 strcpy(request, argv[1]);
43 skn_logger(
SD_DEBUG,
"Welcome Message [%s]", request);
71 skn_logger(
SD_NOTICE,
"Application beginning orderly shutdown...");
78 skn_logger(
SD_NOTICE,
"\n============================\nShutdown Complete\n============================\n");
long skn_get_number_of_cpu_cores()
int skn_signal_manager_shutdown(pthread_t sig_thread, sigset_t *psignal_set, long *l_thread_complete)
void get_default_interface_name_and_ipv4_address(char *intf, char *ipv4)
int skn_handle_display_command_line(int argc, char **argv)
char gd_ch_intfName[SZ_CHAR_BUFF]
int main(int argc, char *argv[])
char gd_ch_program_name[SZ_INFO_BUFF]
int skn_signal_manager_startup(pthread_t *psig_thread, sigset_t *psignal_set, long *l_thread_complete)
int skn_display_manager_do_work(char *client_request_message)
char * gd_pch_effective_userid
char gd_ch_ipAddress[SZ_CHAR_BUFF]
void skn_program_name_and_description_set(const char *name, const char *desc)