JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ffset_high , unsigned long offset_low , loff_t * result , unsigned int whence ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「 ... EEK_CUR , or SEEK_END , respectively. The new file offset is returned in the argument result . The type loff_t is a 64-bit signed type. This system call exists on various 32-bit platforms to support seeking to large file offsets. 返り値 成功した場合は、 ... ... ffset_high , unsigned long offset_low , loff_t * result , unsigned int whence ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「 ... EEK_CUR , or SEEK_END , respectively. The new file offset is returned in the argument result . The type loff_t is a 64-bit signed type. This system call exists on various 32-bit platforms to support seeking to large file offsets. 返り値 成功した場合は、 ... ... v -fexternal-templates -fno-asm -fno-builtin -fhosted -fno-hosted -ffreestanding -fno-freestanding -fno-strict-prototype -fsigned-bitfields -fsigned-char -fthis-is-variable -funsigned-bitfields -funsigned-char -fwritable-strings -traditional -tradition ... 扱われています。しかし、後方互換性のために、 ` -fthis-is-variable ' を指定することによってこの効果を得ることができます。 -funsigned-char char 型を unsigned char のように符号無しとして扱います。 それぞれのマシンには char がどちらであるべきかというデフォル ... トがあります。 デフォルトで unsigned char であることもあれば、デフォルトで signed char であることもあります。 理想的には、可搬性のあるプログラムは、オブジェクト ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... ... .h > #include < stdint.h > #include < stdio.h > #include < stdlib.h > #include < string.h > #include < time.h > #define is_signed(T) ((T) -1 < 1) static time_t my_mktime(struct tm *tp); int main(int argc, char *argv[]) { char **p; time_t t; struct tm t ... m); if (tm.tm_wday == -1) err(EXIT_FAILURE, "mktime"); if (errno == EINVAL || errno == ENOTUNIQ) warn("my_mktime"); if (is_signed(time_t)) printf("%jd\n", (intmax_t) t); else printf("%ju\n", (uintmax_t) t); exit(EXIT_SUCCESS); } static time_t my_mktime ... (struct tm *tp) { int e, isdst; time_t t; struct tm tm; unsigned char wday[sizeof(tp->tm_wday)]; e = errno; tm = *tp; isdst = tp->tm_isdst; memcpy(wday, &tp->tm_wday, sizeof(wday)); tp->t ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。