C言語なら俺に聞け(入門編)Part 60
■ このスレッドは過去ログ倉庫に格納されています
0404デフォルトの名無しさん
2010/02/13(土) 08:49:355.25 Declaring Attributes of Functions
`nonnull (ARG-INDEX, ...)'
The `nonnull' attribute specifies that some function parameters
should be non-null pointers. For instance, the declaration:
extern void *
my_memcpy (void *dest, const void *src, size_t len)
__attribute__((nonnull (1, 2)));
■ このスレッドは過去ログ倉庫に格納されています