教えてもらったメモ
/* マクロ引数に戻り値を書く */
#define MYOPEN(ret,p,f,m) ret=open(#p,f,m)
int x = MYOPEN(fd, hoge, flags, mode);
Go to list of users who liked
More than 5 years have passed since last update.
教えてもらったメモ
/* マクロ引数に戻り値を書く */
#define MYOPEN(ret,p,f,m) ret=open(#p,f,m)
int x = MYOPEN(fd, hoge, flags, mode);
Register as a new user and use Qiita more conveniently
Go to list of users who liked