int main(void) { sef_local_startup(); chardriver_task(&fb_tab, CHARDRIVER_SYNC); return OK; }
/*===========================================================================* * printer_task * *===========================================================================*/ int main(void) { /* Main routine of the printer task. */ /* SEF local startup. */ sef_local_startup(); chardriver_task(&printer_tab); }
/*===========================================================================* * main * *===========================================================================*/ PUBLIC int main(void) { /* SEF local startup. */ sef_local_startup(); /* Call the generic receive loop. */ chardriver_task(&log_dtab, CHARDRIVER_ASYNC); return(OK); }
int main(void) { /* * Perform initialization. */ sef_local_startup(); /* * Run the main loop. */ chardriver_task(&hello_tab, CHARDRIVER_SYNC); return OK; }
PUBLIC int main(void) { /* * Perform initialization. */ sef_local_startup(); /* * Run the main loop. */ chardriver_task(&counter_tab, CHARDRIVER_SYNC); printf("\n"); return OK; }
int main(void) { int i = 0; owner = -1; open_file_descriptors = 0; secret_opened_for_reading = false; for (i = 0; i < SECRET_SIZE; i++) { the_secret[i] = '\0'; } /* * Perform initialization. */ sef_local_startup(); /* * Run the main loop. */ chardriver_task(&hello_tab, CHARDRIVER_SYNC); return OK; }