>>37
負の値を返したいだけなら、enumでもできるぞ。
typedef enum {SomeLibOk, SomLibWarning = -1, SomeLibFatal = -2} SomeLibStatus;
人間が数を管理する愚は避けられないけど。