23 lines
508 B
Plaintext
23 lines
508 B
Plaintext
set prototyped
|
|
cat{
|
|
#if defined(__STDPP__directive) && defined(__STDPP__hide)
|
|
__STDPP__directive pragma pp:hide ioctl
|
|
#else
|
|
#define ioctl ______ioctl
|
|
#endif
|
|
}end
|
|
one termio.h termios.h sys/termios.h sgtty.h sys/ttyio.h sys/ioctl.h
|
|
cat{
|
|
#if _sys_ioctl && !defined(_IOR)
|
|
#include <sys/ioctl.h>
|
|
#endif
|
|
#if defined(__STDPP__directive) && defined(__STDPP__hide)
|
|
__STDPP__directive pragma pp:nohide ioctl
|
|
#else
|
|
#undef ioctl
|
|
#endif
|
|
#if !defined(linux)
|
|
extern int ioctl(int, int, ...);
|
|
#endif
|
|
}end
|