2 /* ###--------------------------------------------------------------### */
4 /* file : beh_toolbug.c */
5 /* date : Sep 3 1993 */
7 /* authors : Pirouz BAZARGAN SABET */
8 /* content : low-level function */
10 /* ###--------------------------------------------------------------### */
16 /* ###--------------------------------------------------------------### */
17 /* function : beh_toolbug */
18 /* description : print an error message on the standard error output */
19 /* called func. : none */
20 /* ###--------------------------------------------------------------### */
22 void beh_toolbug (code
, str1
, str2
, nbr1
)
32 sprintf(buf
,"%d",code
+100);
44 avt_errmsg(BEH_ERRMSG
,buf
,AVT_FATAL
,str1
);
49 avt_errmsg(BEH_ERRMSG
,buf
,AVT_FATAL
,str1
,str2
);
53 avt_errmsg(BEH_ERRMSG
,buf
,AVT_FATAL
,str1
,nbr1
);
57 avt_errmsg(BEH_ERRMSG
,"199",AVT_FATAL
,str1
);