Skip to content

new page bufsiz.md #1477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

new page bufsiz.md #1477

wants to merge 1 commit into from

Conversation

rotarymars
Copy link
Member

No description provided.

@rotarymars
Copy link
Member Author

確認をお願いします。

Copy link
Contributor

プレビュー (HTML) (更新時刻: 2025-07-19 21:47:26 JST)

  • Commit: cf58bef
  • プレビューの生成には時間がかかります (3~5分)。進捗状況はこちらをご確認ください。

変更記事一覧

2件の記事が変更されました。

※ソース (.md) に直接変更のあった記事を列挙しています。グローバル修飾や変換規則の変更による変化は考慮していません。

* macro[meta id-type]

```cpp
#define BUFSIZ implementation-defined
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation-defined ってどこかに書いてありますか? 規格はC言語規格を参照していて、C言語規格には implementation-defined とは書いていないように見えます。C言語規格を参照していただけますか。see below, unspecified, もしくは敢えて書くなら integer-constant-expression です。

```

## 概要
標準入出力のバッファサイズを表すマクロ。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
標準入出力のバッファサイズを表すマクロ
[`setbuf()`](/reference/cstdio/setbuf.md.nolink)関数で使われる標準入出力のバッファサイズを表すマクロ

setvbuf もあるので標準入出力のバッファサイズは一般には BUFSIZ ではありません。

## 例
```cpp example
#include <cstdio>
#include <iostream>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iostream 使ってますか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants