I first encapsulated this macro: #define SSIZEOF(x) ((ssize_t)sizeof(x)) . The result is I now have a slightly shorter line: if (snprintf(buff, sizeof(buff), ...
確定! 回上一頁