/* The following example retrieves the default section line display preferences. */ #include #include #include #include #include void ufusr(char *param, int *retcod, int param_len) { int ifail = 0; char error_message[133]; UF_DRAW_arrow_parms_t arrow_parms; UF_DRAW_sxline_display_t sxline_display; ifail = UF_initialize(); if( !ifail ) { /* Retrieve the global section line preferences. */ ifail = UF_DRAW_ask_sxline_default_prfs( &arrow_parms, &sxline_display ); } printf( "UF_DRAW_ask_sxline_default_prfs sample " ); if( ifail ) { ifail = UF_get_fail_message( ifail, error_message ); printf( "fails.\nError is: %s\n", error_message ); } else printf( "is successful.\n" ); UF_terminate(); }