Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MTUサイズ値を取得するPOSIX関数とは何ですか?ありがとう。
いいえ、そのための一般的な POSIX 関数はありません。できる最善の方法は、ソケットでGET_MTU/を呼び出すことですがSIOCGIFMTU ioctl、これは POSIX 標準にはありません。すべての POSIX でサポートされているわけではありません。
GET_MTU
SIOCGIFMTU
ioctl