projects
/
YACASL2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ドキュメント作成時にCASL2LIBファイル追加
[YACASL2.git]
/
test
/
unit
/
print_cerrmsg
/
print_cerrmsg.c
1
#include <stdio.h>
2
#include "casl2.h"
3
4
int main(){
5
int i, num;
6
7
for(i = 0; (num = cerr[i].num) > 0; i++) {
8
setcerr(num, NULL);
9
printf("%d: %s\n", cerrno, cerrmsg);
10
freecerr();
11
}
12
return 0;
13
}