01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

---- -- -- -- - Important Information, Version 3.51<br />

8. cc(l)<br />

The C compiler supports flexnames. Programs that have symbol<br />

names longer than eight characters are not truncated automatically as<br />

was done with the pre-flexname compiler, which was available in<br />

Version 2.0 and 3.0.<br />

A new option, • T, is provided to truncate long symbol names to eight<br />

characters. This is useful so that new object files can be linked with<br />

older (pre-flexname) files and then run under either old or new<br />

systems.<br />

9. cu(l)<br />

On single phone line systems where the Phone Manager has been<br />

installed, make sure the line is selected to DATA 1 before the cu<br />

command is used.<br />

10. cut(l)<br />

The cut(l) command returns a value of 2 whether or not execution<br />

was successful.<br />

11. diai(3C)<br />

The calling program for the diai(3C) function must include a<br />

statement which defines a static termio structure and assigns its<br />

address to the attr element of the CALL structure. This is necessary<br />

because a NULL value for the attr element in CALL cannot be<br />

passed to the dial function even though the manual page says that a<br />

NULL value for this pointer element may be passed. The problem is<br />

that attr is a pointer to a termio structure that has been defined as an<br />

auto variable, hence it does not get initialized. The structure should<br />

have been declared as static for the variable to default initially to<br />

zero.<br />

On compiling the calling program, the user will see that the dial(3C)<br />

function references the functions tgetent, tgetstr, and tgetnum which<br />

are NOT in libc.a. In order to resolve this, the user should invoke the<br />

compiler as:<br />

$cc prog .c -lc -Itermcap<br />

(note: -lc and -Itermcap must be in this order.)<br />

Important Information 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!