pty.c (673b7946387a9649bed5c591373acb2b41011f40) | pty.c (8b1ef8d4645b65a6acfa34d3c1f460805e737a98) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#if defined(LIBC_SCCS) && !defined(lint) 35#if 0 36static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94"; 37#else 38static const char rcsid[] = | 1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#if defined(LIBC_SCCS) && !defined(lint) 35#if 0 36static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94"; 37#else 38static const char rcsid[] = |
39 "$Id$"; | 39 "$Id: pty.c,v 1.7 1997/08/13 20:42:18 steve Exp $"; |
40#endif 41#endif /* LIBC_SCCS and not lint */ 42 43#include <sys/types.h> 44#include <sys/ioctl.h> 45#include <sys/stat.h> 46 47#include <errno.h> 48#include <fcntl.h> 49#include <grp.h> | 40#endif 41#endif /* LIBC_SCCS and not lint */ 42 43#include <sys/types.h> 44#include <sys/ioctl.h> 45#include <sys/stat.h> 46 47#include <errno.h> 48#include <fcntl.h> 49#include <grp.h> |
50#include <stdio.h> | |
51#include <stdlib.h> 52#include <string.h> 53#include <termios.h> 54#include <unistd.h> 55#include <libutil.h> 56 57int 58openpty(amaster, aslave, name, termp, winp) --- 78 unchanged lines hidden --- | 50#include <stdlib.h> 51#include <string.h> 52#include <termios.h> 53#include <unistd.h> 54#include <libutil.h> 55 56int 57openpty(amaster, aslave, name, termp, winp) --- 78 unchanged lines hidden --- |