mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit * libcsupport/src/tcgetprgrp.c: Remove. * libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c). * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1441/cpukit
|
||||
* libcsupport/src/tcgetprgrp.c: Remove.
|
||||
* libcsupport/src/tcgetpgrp.c: New (Renamed from
|
||||
libcsupport/src/tcgetprgrp.c).
|
||||
* libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
|
||||
Remove libcsupport/src/tcgetprgrp.c.
|
||||
|
||||
2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/include/rtems/assoc.h,
|
||||
|
||||
@@ -51,7 +51,7 @@ BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
|
||||
|
||||
TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
|
||||
src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
|
||||
src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \
|
||||
src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
|
||||
src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
|
||||
src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
|
||||
src/termios_setinitialbaud.c
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
* tcgetprgrp() - POSIX 1003.1b 7.2.3 - Get Foreground Process Group ID
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#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> */
|
||||
|
||||
#include <rtems/libio.h>
|
||||
|
||||
pid_t tcgetprgrp(int fd)
|
||||
{
|
||||
return getpid();
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user