projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
casl2コマンド使い方の表示を変更
[YACASL2.git]
/
include
/
cerr.h
diff --git
a/include/cerr.h
b/include/cerr.h
index
7265b0e
..
e6e8ddf
100644
(file)
--- a/
include/cerr.h
+++ b/
include/cerr.h
@@
-15,6
+15,10
@@
/* エラーを出力して終了 */
void *malloc_chk(size_t size, char *tag);
+/* malloc_chkを実行してメモリを確保してから、 */
+/* コピーした文字列を返す */
+char *strdup_chk(const char *s, char *tag);
+
/* エラーの構造体 */
typedef struct {
int num; /* エラー番号 */