1/*- 2 * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Portions of this software were developed under sponsorship from Snow 6 * B.V., the Netherlands. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/kern/tty_pts.c 196480 2009-08-23 20:26:09Z ed $"); |
32 |
33/* Add compatibility bits for FreeBSD. */ 34#define PTS_COMPAT |
35/* Add /dev/ptyXX compat bits. */ 36#define PTS_EXTERNAL |
37/* Add bits to make Linux binaries work. */ 38#define PTS_LINUX 39 40#include <sys/param.h> 41#include <sys/lock.h> 42#include <sys/condvar.h> 43#include <sys/conf.h> 44#include <sys/fcntl.h> --- 799 unchanged lines hidden --- |