Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cfsetospeed(3c) [hpux man page]

cfspeed(3C)															       cfspeed(3C)

NAME
cfgetospeed(), cfsetospeed(), cfgetispeed(), cfsetispeed() - tty baud rate functions SYNOPSIS
DESCRIPTION
These functions set and get the input and output speed codes in the termios structure referenced by termios_p. The termios structure con- tains these speed codes representing input and output baud rates as well as other terminal related parameters. Setting the parameters on a terminal file does not become effective until is successfully called. returns the output speed code from the termios structure referenced by termios_p. sets the output speed code in the termios structure referenced by termios_p to speed. The speed code for a baud rate of zero, is used to termi- nate the connection. If is specified, the modem control lines are no longer asserted, which normally discon- nects the line. returns the input speed code from the termios structure referenced by termios_p. sets the input speed code in the termios structure referenced by termios_p to speed. RETURN VALUE
returns the output speed code from the termios structure referenced by termios_p. returns the input speed code from the termios structure referenced by termios_p. and return zero upon successful completion. Otherwise, they return -1 and set to indicate the error. ERRORS
and fail when the following condition is encountered: [EINVAL] The value of speed is outside the range of possible speed codes as specified in WARNINGS
and can be used to set speed codes in the termios structure that are not supported by the terminal hardware. SEE ALSO
tcattribute(3C), thread_safety(5), termio(7). STANDARDS CONFORMANCE
cfspeed(3C)

Check Out this Related Man Page

cfspeed(3C)															       cfspeed(3C)

NAME
cfgetospeed(), cfsetospeed(), cfgetispeed(), cfsetispeed() - tty baud rate functions SYNOPSIS
DESCRIPTION
These functions set and get the input and output speed codes in the termios structure referenced by termios_p. The termios structure con- tains these speed codes representing input and output baud rates as well as other terminal related parameters. Setting the parameters on a terminal file does not become effective until is successfully called. returns the output speed code from the termios structure referenced by termios_p. sets the output speed code in the termios structure referenced by termios_p to speed. The speed code for a baud rate of zero, is used to termi- nate the connection. If is specified, the modem control lines are no longer asserted, which normally discon- nects the line. returns the input speed code from the termios structure referenced by termios_p. sets the input speed code in the termios structure referenced by termios_p to speed. RETURN VALUE
returns the output speed code from the termios structure referenced by termios_p. returns the input speed code from the termios structure referenced by termios_p. and return zero upon successful completion. Otherwise, they return -1 and set to indicate the error. ERRORS
and fail when the following condition is encountered: [EINVAL] The value of speed is outside the range of possible speed codes as specified in WARNINGS
and can be used to set speed codes in the termios structure that are not supported by the terminal hardware. SEE ALSO
tcattribute(3C), thread_safety(5), termio(7). STANDARDS CONFORMANCE
cfspeed(3C)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

UNIX Routers/VPN

There is a small company with 3 locations in Idaho. Currently they are using UNIX with multiplexors from 10 years ago. They would like to speed up their downloads and connection speeds but don't want to pay more than they are paying right now. They currently pay $200/mo. The main office is in... (4 Replies)
Discussion started by: Jodibaxter
4 Replies

2. UNIX for Dummies Questions & Answers

Mouse settings

How do I change the mouse pointer speed settings in Unix. I know in Windows there is the option to change the pointer speed. (3 Replies)
Discussion started by: chyzm
3 Replies

3. UNIX for Advanced & Expert Users

Speed of network link

Sorry to keep bothering you guys like this with all these boring, related questions. But here's one that should be more readily answerable. What command or file should i use to get the speed/data rate of a network link? This is the capacity speed for instance 10Mbps or 100 Mbps in the case of the... (2 Replies)
Discussion started by: mint1981
2 Replies

4. UNIX for Advanced & Expert Users

network speed is slow

Hello, everyone: i encounter a problem these days , pls help me ,thanks in advance. my env: machine: ES40 A ES40 B os: true64 Unix 4.0f note: src.tar 8M network card speed 100M my problem: ... (3 Replies)
Discussion started by: q30
3 Replies

5. HP-UX

Network speed on HPUX

Hello, can anyone tell me how to change network speed or duplex speed...don't understand the concept why that is imp when the server comes back up to check up on it. Basically have to make sure that the setting from the orginial speed. (2 Replies)
Discussion started by: catwomen
2 Replies

6. UNIX for Dummies Questions & Answers

TCP/IP speed

I have a problem... my network speed between Windows and DamnSmallLinux 2.2 just 400Kb/s :confused: is there any way to increase it? 1 Windows XP SP2 (wireless connection 54Mbit/s) 2 DamnSmallLinux 2.2 (cable connection) 3 Router Dlink DI-524 Any help is greatly appreciated! (2 Replies)
Discussion started by: RomZes
2 Replies

7. Programming

can any one answer ????

Q.1 Diffrence between terminal and pseudo-terminal ? Q.2 What is terminal login ? What is a netwok Login ? Q.3 What is meant by baud rate of a terminal ? Q.4 which structure is used for job control in Unix/Linux ?and where these structure are means in which directory ? (2 Replies)
Discussion started by: mobile01
2 Replies

8. HP-UX

Get CPU speed without root permissions

How can I get the CPUs speed without root permissions? Thanks. (2 Replies)
Discussion started by: psimoes79
2 Replies

9. Shell Programming and Scripting

Performance monitoring help needed.

How would i check for following? 1)open ports in my linux machine. 2)Hard disk read speed. 3)Hard disk write speed. (2 Replies)
Discussion started by: pinga123
2 Replies

10. Red Hat

Increase speed in linux server

Hi, Will removing space from the server increases the speed/performance. how are they related? please explain the relationship. thanks in advance regards, Pradeep (2 Replies)
Discussion started by: pradebban
2 Replies

11. Programming

[ERROR:Resource temporarily unavailable!] Serial writing by termios library

Hello, I am using the termios library to write data that I get from a Bluetooth device to a modem via serial. The data arrive from the Bluetooth device correctly every 50ms and I have to bypass them on the serial ttyUSB3 where it is connected to a modem connected to a socket with static IP. The... (10 Replies)
Discussion started by: enaud
10 Replies

12. Programming

Serial programming using termios

Hi guys I'm trying to connect to CISCO router using termios. So I decided to have two threads one for reading data and the other one for writing data. And here's my code : int mainfd=0; char ch = {NULL}; void *write(void *) { char temp; while(1) { temp =... (3 Replies)
Discussion started by: turner
3 Replies

13. Hardware

How to test the speed of your WIFI network?

Dear all, Would you know how to measure the max speed of a WIFI connection between a router and a laptop for instance? Many thanks for your help! Regards, (3 Replies)
Discussion started by: freddie50
3 Replies

14. IP Networking

Similar systems - different communication speed

Two companies have a dedicated T1 between their offices, at company A there is one OSR 5.0.7 system (A1), at company B there are two OSR 5.0.7 (B1 and B2) and one OSR 5.0.6 (B3). The A1, B1 and B2 are the same HP ML380s, the B3 is older HP h/w There is a ftp-based data exchange... (6 Replies)
Discussion started by: migurus
6 Replies

15. What is on Your Mind?

Should we use CODE Tags for terminal input and output?

I've always used code tags for code but not for showing terminal input and output. I noticed a mod edited one of my threads and now I'm confused as to proper protocol. Mike (5 Replies)
Discussion started by: Michael Stora
5 Replies