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.
pthread.hまたはerrno.h(openSUSE Linuxの場合)のいずれかでEPERMの宣言を見つけることができないため、誰かが私にこれに対する正しい方向性を教えてもらえますか?これはasm-generic/errno-base.hで見つかりましたが、これは正しいですか?なぜerrno.hにないのですか?ありがとう
それは正しいものです。そしてerrno.h、インクルードの長いチェーンを経由していますが、それは にあります。たとえば、私のLinux開発ボックスerrno.hにbits/errno.hはlinux/errno.h、for .asm/errno.hasm-*/errno.hasm-i386/errno.hasm-generic/errno.h#defineEPERM
errno.h
bits/errno.h
linux/errno.h
asm/errno.h
asm-*/errno.h
asm-i386/errno.h
asm-generic/errno.h
#define
EPERM