]> git.saurik.com Git - apple/libc.git/blobdiff - include/termios.h
Libc-498.1.7.tar.gz
[apple/libc.git] / include / termios.h
index 2149021526cfd7ff2d002cdd37a672c1d5a23d62..94208a5a577ffa58713d1e0331b23e72cce819b3 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
+#ifndef __TERMIOS_H__
+#define __TERMIOS_H__
+
+#include <sys/cdefs.h>
 #include <sys/termios.h>
+#include <_types.h>
+
+#ifndef _PID_T
+typedef __darwin_pid_t pid_t;
+#define _PID_T
+#endif
+
+__BEGIN_DECLS
+pid_t  tcgetsid(int);
+__END_DECLS
 
+#endif /* __TERMIOS_H__ */