男の文字列と男の文字列.h

男の文字列と男の文字列.h

man stringISO C 文字列ヘッダーが表示されます。

man string.hPosix C 文字列ヘッダーが表示されます。

man stdiovsに類似man stdio.h

ただし、特に/usr/include/string.h(memcpyなどがある)にある内容を反映しないなどのAPIman stringはありません。memcpy

なぜこれですか?

ベストアンサー1

Linuxシステムではman string いいえstring.hdocument "文字列操作"をリストするドキュメント:

stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, strrchr, strsep, strspn, strstr, strtok, strxfrmindex文字rindex列演算

ほとんどは で定義され、string.h一部は で定義されていますstrings.h。この文書は完全なリストではありませんstring.h

同様に、man stdio技術的には、stdioライブラリの関数をリストするドキュメントはありませんが、stdio.h実際には結果は基本的に同じです。

おすすめ記事