Functions | |
def | create_check_hrpiob_iob |
Variables | |
string | code |
string | iob_h |
def create-hrpiob-check.create_check_hrpiob_iob | ( | ) |
Definition at line 27 of file create-hrpiob-check.py.
string create-hrpiob-check::code |
00001 """ 00002 #include <stdio.h> 00003 #include <sys/types.h> 00004 #include <iob.h> 00005 int main() { 00006 int ret1, ret2; 00007 ret1 = open_iob(); 00008 printf("open_iob returns %d\\n", ret1); 00009 00010 ret2 = close_iob(); 00011 printf("close_iob returns %d\\n", ret2); 00012 00013 if ( ret1 && ret2 ) { 00014 return 0; // success 00015 } else { 00016 return 1; // failure 00017 } 00018 } 00019 """
Definition at line 3 of file create-hrpiob-check.py.
string create-hrpiob-check::iob_h |
Definition at line 67 of file create-hrpiob-check.py.