Links

GitHub

Open HUB

Quick Links

Download

STREAMS

SIGTRAN

SS7

Hardware

SCTP

Browse Source

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

Operating System

Resources

Packages

Sys Req

Repositories

Download

Mailing Lists

Browse Source

CVS Archive

Bug Reports

Library

Hardware

Vendor Links

Home

Overview

Status

Documentation

Resources

About

News

Description: Code

File /code/usr/include/termios.h



#ifndef	_TERMIOS_H
#define	_TERMIOS_H	1

#include <features.h>
#ifdef __USE_UNIX98

# include <bits/types.h>
# ifndef __pid_t_defined
typedef __pid_t pid_t;
#  define __pid_t_defined
# endif
#endif

__BEGIN_DECLS

#include <bits/termios.h>

#ifdef __USE_BSD

# define CCEQ(val, c)	((c) == (val) && (val) != _POSIX_VDISABLE)
#endif

extern speed_t cfgetospeed (__const struct termios *__termios_p) __THROW;

extern speed_t cfgetispeed (__const struct termios *__termios_p) __THROW;

extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __THROW;

extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __THROW;

#ifdef	__USE_BSD

extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __THROW;
#endif

extern int tcgetattr (int __fd, struct termios *__termios_p) __THROW;

extern int tcsetattr (int __fd, int __optional_actions,
		      __const struct termios *__termios_p) __THROW;

#ifdef	__USE_BSD

extern void cfmakeraw (struct termios *__termios_p) __THROW;
#endif

extern int tcsendbreak (int __fd, int __duration) __THROW;

extern int tcdrain (int __fd) __THROW;

extern int tcflush (int __fd, int __queue_selector) __THROW;

extern int tcflow (int __fd, int __action) __THROW;

#ifdef __USE_UNIX98

extern __pid_t tcgetsid (int __fd) __THROW;
#endif

#ifdef __USE_BSD
# include <sys/ttydefaults.h>
#endif

__END_DECLS

#endif

Last modified: Thu, 28 Nov 2024 20:03:05 GMT  
Copyright © 2014 OpenSS7 Corporation All Rights Reserved.