.nr Hu 1
.SK
.HU "APPENDIX E"
.SP 2P
.ce
.B
\s16Sample Raw Journal Report\s0
.R
.SP 2P
\f(CW
.nf

1. Function:
	cfgetispeed		[004]

1. 	Preparation		[4000]
	Fork a subtest

1.<p1>.1.1. Function:
	cfgetispeed		[004]

1.<p1>.1.1. 	Abstract
	2

1.<p1>.1.1.1. 	Testing		[4002]
	Assign of "cfgetispeed(termios_p)" to variable of type "speed_t."

1.<p1>.1.1.2. 	Testing		[4002]
	Compare "cfgetispeed(termios_p)" to variable of type "speed_t."

1.<p1>.1.1.3. 	Testing		[4002]
	Negation of integral type "cfgetispeed(termios_p)" is acceptable.

1.<p1>.1.2. 	Abstract
	3

1.<p1>.1.2.1. 	Preparation		[4003]
	Generate system command to extract macro.

1.<p1>.1.2.2. 	Preparation		[4003]
	Locate text for macro cfgetispeed().

1.<p1>.1.2.3. 	Testing		[4003]
	Macro cfgetispeed(), protects its result value with extra
	parentheses when necessary.
		cfgetispeed(): (((const struct termios *)->c_cflag&0x000f0000)>>16)

1.<p1>.1.3. 	Abstract
	1

1.<p1>.1.3.1. 	Testing		[4001]
	Function prototype correct.

2. 	Preparation		[4000]
	Fork a subtest

2.<p1>.2.1. Function:
	cfgetispeed		[004]

2.<p1>.2.1. 	Abstract
	4

2.<p1>.2.1.1. 	Preparation		[4004]
	Establish PORT_TTY as the control terminal and PORT_LOOP.

2.<p1>.2.1.2. 	Testing		[4004]
	Call to cfgetispeed() returns the input baud rate stored
	in the "termios" structure pointed to by the termios_p
	parameter.

2.<p1>.2.1.3. 	Cleanup
	Close terminal devices.

MACRO Processing

3. 	Preparation		[4000]
	Fork a subtest

3.<p1>.3.1. Function:
	cfgetispeed		[004]

3.<p1>.3.1. 	Abstract
	4

3.<p1>.3.1.1. 	Preparation		[4004]
	Establish PORT_TTY as the control terminal and PORT_LOOP.

3.<p1>.3.1.2. 	Testing		[4004]
	Call to cfgetispeed() returns the input baud rate stored
	in the "termios" structure pointed to by the termios_p
	parameter.

3.<p1>.3.1.3. 	Cleanup
	Close terminal devices.
.fi
\fP
