LINUX.ORG.RU

История изменений

Исправление SaBo, (текущая версия) :

Стандартным вводом/выводом могут быть не только монитор и клавиатура. Это могут быть любые символьные устройства.

Ну... да. И об этом же я писал (под терминалам имел ввиду не GUI приложение). И tty оттуда же. А ещё сетевые потоки и т.д.

Нет. «standard library» - это unistd.h, а stdin/stdout подключаются через stdio.h

Википедия говорит про stdio.h следующее:

The C programming language provides many standard library functions for file input and output. These functions make up the bulk of the C standard library header <stdio.h>.[1] The functionality descends from a «portable I/O package» written by Mike Lesk at Bell Labs in the early 1970s.[2] and officially became part of the Unix operating system in Version 7.[3]

И:

The I/O functionality of C is fairly low-level by modern standards; C abstracts all file operations into operations on streams of bytes, which may be «input streams» or «output streams».

Т.е. это все же часть C и часть очень абстрактная - ввод и вывод.

Но правда частично, похоже, ваша. POSIX.1 описывает Standard C. Так что как названо в стандартной C, так же и в POSIX и в UNIX и LINUX. Т.е. в контексте UNIX потоки всё же правильно называть стандартными.

Но исторически это не так.

In the context of the ALGOL 68 programming language, the input and output facilities are collectively referred to as transput.

Это 68 год - задолго до C. Не задолго, а чуть раньше. Но задолго до POSIX.1 откуда идет стандартная библиотека C.

И только потом:

The ALGOL 68 transput library recognizes the following standard files/devices: stand in, stand out, stand errors and stand back.

Исходная версия SaBo, :

Стандартным вводом/выводом могут быть не только монитор и клавиатура. Это могут быть любые символьные устройства.

Ну... да. И об этом же я писал (под терминалам имел ввиду не GUI приложение). И tty оттуда же. А ещё сетевые потоки и т.д.

Нет. «standard library» - это unistd.h, а stdin/stdout подключаются через stdio.h

Википедия говорит про stdio.h следующее:

The C programming language provides many standard library functions for file input and output. These functions make up the bulk of the C standard library header <stdio.h>.[1] The functionality descends from a «portable I/O package» written by Mike Lesk at Bell Labs in the early 1970s.[2] and officially became part of the Unix operating system in Version 7.[3]

И:

The I/O functionality of C is fairly low-level by modern standards; C abstracts all file operations into operations on streams of bytes, which may be «input streams» or «output streams».

Т.е. это все же часть C и часть очень абстрактная - ввод и вывод.

Но правда частично, похоже, ваша. POSIX.1 описывает Standard C. Так что как названо в стандартной C, так же и в POSIX и в UNIX и LINUX. Т.е. в контексте UNIX потоки всё же правильно называть стандартными.

Но исторически это не так.

In the context of the ALGOL 68 programming language, the input and output facilities are collectively referred to as transput.

Это 68 год - задолго до C.

И только потом:

The ALGOL 68 transput library recognizes the following standard files/devices: stand in, stand out, stand errors and stand back.