[comp.lang.c] OS-dependent functions

jejones@mcrware.UUCP (James Jones) (01/12/88)

If operating system-dependent functions don't fall under the umbrella of the
ANSI C standard, and I agree that they shouldn't, then what is signal() doing
in the ANSI Draft standard?

		James Jones

gwyn@brl-smoke.ARPA (Doug Gwyn ) (01/14/88)

In article <590@mcrware.UUCP> jejones@mcrware.UUCP (James Jones) writes:
>If operating system-dependent functions don't fall under the umbrella of the
>ANSI C standard, and I agree that they shouldn't, then what is signal() doing
>in the ANSI Draft standard?

You could also ask what getchar() is doing in the draft standard.

Practically all operating systems can provide the minimal ANSI C
signal() functionality, and it was considered to be something of
real use to applications.