summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/tcsetpgrp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 15:27:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 15:27:52 +0000
commitc7016198fa34f63e0dd2c8f68443ce2a4170fd79 (patch)
treed38ac3d9c3fa72845b7056ffdec90a9d97312809 /c/src/lib/libc/tcsetpgrp.c
parentSource and destination arguments to strncpy were swapped. This mistake (diff)
downloadrtems-c7016198fa34f63e0dd2c8f68443ce2a4170fd79.tar.bz2
Added.
Diffstat (limited to 'c/src/lib/libc/tcsetpgrp.c')
-rw-r--r--c/src/lib/libc/tcsetpgrp.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/lib/libc/tcsetpgrp.c b/c/src/lib/libc/tcsetpgrp.c
new file mode 100644
index 0000000000..3e6c32c9c4
--- /dev/null
+++ b/c/src/lib/libc/tcsetpgrp.c
@@ -0,0 +1,33 @@
+/*
+ * tcsetprgrp() - POSIX 1003.1b 7.2.4 - Set Foreground Process Group ID
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#if defined(RTEMS_NEWLIB)
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+#include <termios.h>
+/* #include <sys/ioctl.h> */
+
+int ioctl();
+
+#include <rtems/libio.h>
+
+int tcsetprgrp(int fd, pid_t pid)
+{
+ return 0;
+}
+
+#endif