2 /* ###--------------------------------------------------------------### */
4 /* file : beh_error.c */
5 /* date : Oct 30 1995 */
7 /* authors : Pirouz BAZARGAN SABET */
8 /* content : low-level function */
10 /* ###--------------------------------------------------------------### */
15 /* ###--------------------------------------------------------------### */
16 /* function : beh_error */
17 /* description : print an errorr message */
18 /* called func. : none */
19 /* ###--------------------------------------------------------------### */
21 unsigned int beh_error (code
, str1
)
29 sprintf(buf
,"%03d",code
);
39 avt_errmsg(BEH_ERRMSG
,buf
,AVT_ERROR
,str1
);
47 avt_errmsg(BEH_ERRMSG
,buf
,AVT_ERROR
);
51 avt_errmsg(BEH_ERRMSG
,"0",AVT_ERROR
);