V2EX  ›  英汉词典

STDERR

释义 Definition

stderrstandard error(标准错误输出) 的缩写:在许多操作系统与编程环境中,用来输出错误信息、警告、诊断日志等的输出通道(通常与正常输出 stdout 分开)。常见于命令行、脚本与程序运行时的报错信息。

发音 Pronunciation

/ˌɛsˌtiːˈdiːˈɑːr/

例句 Examples

The program wrote the error message to stderr.
程序把错误信息写到了标准错误输出(stderr)。

If you redirect stdout to a file but leave stderr unchanged, you can save normal output while still seeing errors in the terminal.
如果你把标准输出(stdout)重定向到文件但不改变标准错误(stderr),你就能保存正常输出,同时仍在终端里看到错误信息。

词源 Etymology

stderr 来自计算机术语 standard error 的缩写形式:std(standard,标准)+ err(error,错误)。在类 Unix 系统中,它与 stdoutstdin 一起构成传统的三大“标准流”,便于把正常输出与错误输出分离、重定向或分别记录。

相关词 Related Words

文学作品 Literary Works

stderr 属于较新的计算机与工程术语,通常不出现在传统文学作品中;更常见于编程书籍、技术随笔与开源项目文档(如 Unix/Linux 手册页、编程语言教程、软件工程类非虚构作品)中。

关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2433 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 06:55 · PVG 14:55 · LAX 22:55 · JFK 01:55
♥ Do have faith in what you're doing.