some corrections

This commit is contained in:
ceriel 1990-02-13 09:23:04 +00:00
parent 2293458101
commit c6d14bb079

View file

@ -48,7 +48,7 @@ Interactive devices are terminals.
.NS A.6.3.3 .NS A.6.3.3
.IP - .IP -
The number of significant characters is an option. By default it is 64. The number of significant characters is an option. By default it is 64.
There is a distinction between upper- and lowercase. There is a distinction between upper and lower case.
.NS A.6.3.4 .NS A.6.3.4
.IP - .IP -
The compiler assumes ASCII-characters in both the source and execution The compiler assumes ASCII-characters in both the source and execution
@ -58,7 +58,7 @@ There are no multi-byte characters.
.IP - .IP -
There 8 bits in a character. There 8 bits in a character.
.IP - .IP -
Character constants with values that can't be represented in 8 bits Character constants with values that can not be represented in 8 bits
are truncated. are truncated.
.IP - .IP -
Character constants that are more than 1 character wide will have the Character constants that are more than 1 character wide will have the
@ -88,7 +88,7 @@ The right-shift of a negative value is negative.
.NS A.6.3.6 .NS A.6.3.6
.IP - .IP -
The representation of floating-point values is machine-dependent. The representation of floating-point values is machine-dependent.
When native floating-point isn't present an IEEE-emulation is used. When native floating-point is not present an IEEE-emulation is used.
The compiler uses high-precision floating-point for constant folding. The compiler uses high-precision floating-point for constant folding.
.IP - .IP -
Truncation is always to the nearest floating-point number that can Truncation is always to the nearest floating-point number that can
@ -120,7 +120,7 @@ different type, the resulting value will usually be garbage. The
compiler makes no effort to catch these errors. compiler makes no effort to catch these errors.
.IP - .IP -
The alignment of types is a compile-time option. The alignment of The alignment of types is a compile-time option. The alignment of
a structure-member is the alignment of it's type. Usually, the a structure-member is the alignment of its type. Usually, the
alignment is passed on to the compiler by the 'ack' program. When a alignment is passed on to the compiler by the 'ack' program. When a
user wants to do this manually, he/she should be prepared for trouble. user wants to do this manually, he/she should be prepared for trouble.
.IP - .IP -
@ -165,7 +165,7 @@ being compiled resides.
The characters in a h- or q- char-sequence are taken to be UNIX The characters in a h- or q- char-sequence are taken to be UNIX
paths. paths.
.IP - .IP -
Neither the compiler nor the preprocessor know any pragma's. Neither the compiler nor the preprocessor know any pragmas.
.IP - .IP -
Since the compiler runs on UNIX, __DATE__ and __TIME__ will always be Since the compiler runs on UNIX, __DATE__ and __TIME__ will always be
defined. defined.
@ -181,7 +181,7 @@ The diagnostic printed by 'assert' is as follows:
where <expr> is the argument to the assert macro, printed as string. where <expr> is the argument to the assert macro, printed as string.
(the <file> and <line> should be clear) (the <file> and <line> should be clear)
.IP - .IP -
The sets for character test macro's. The sets for character test macros.
.TS .TS
l l. l l.
name: set: name: set:
@ -262,7 +262,7 @@ just be put into the scanlist.
The value of errno is that of lseek(). This means: The value of errno is that of lseek(). This means:
.RS .RS
.IP "EBADF \-" 10 .IP "EBADF \-" 10
when the stream isn't valid when the stream is not valid
.IP "ESPIPE \-" .IP "ESPIPE \-"
when fildes is associated with a pipe (and on some systems: sockets) when fildes is associated with a pipe (and on some systems: sockets)
.IP "EINVAL \-" .IP "EINVAL \-"
@ -280,18 +280,18 @@ When abort() is called, output buffers will be flushed. Temporary files
(made with the tmpfile() function) will have disappeared when SIGABRT (made with the tmpfile() function) will have disappeared when SIGABRT
is not caught or ignored. is not caught or ignored.
.IP - .IP -
The exit() function returns the low-order eight bits of it's argument The exit() function returns the low-order eight bits of its argument
to the environment. to the environment.
.IP - .IP -
The predefined environment names are controlled by the user. The predefined environment names are controlled by the user.
Setting environment variables is done through the putenv() function. Setting environment variables is done through the putenv() function.
This function accepts a pointer to char as it's argument. This function accepts a pointer to char as its argument.
To set f.i. the environment variable TERM to a230 one writes To set f.i. the environment variable TERM to a230 one writes
.ti +4n .ti +4n
putenv("TERM=a230"); putenv("TERM=a230");
.br .br
The argument to putenv() is stored in an internal table, so malloc'ed The argument to putenv() is stored in an internal table, so malloc'ed
strings can't be freed until another call to putenv() (wich set's the strings can not be freed until another call to putenv() (which sets the
same environment variable) is made. The function returns 1 if it fails, same environment variable) is made. The function returns 1 if it fails,
0 otherwise. 0 otherwise.
.LP .LP