Skip to content

created fgetpos and fsetpos#1583

Open
rotarymars wants to merge 4 commits intocpprefjp:masterfrom
rotarymars:cstdio
Open

created fgetpos and fsetpos#1583
rotarymars wants to merge 4 commits intocpprefjp:masterfrom
rotarymars:cstdio

Conversation

@rotarymars
Copy link
Member

確認よろしくおねがいします。

Copilot AI review requested due to automatic review settings February 14, 2026 10:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds documentation for two C standard library file position functions: fgetpos and fsetpos. These functions provide a more robust way to save and restore file positions compared to ftell/fseek, especially for large files and multibyte character files, by using the fpos_t type instead of long int.

Changes:

  • Created documentation for fgetpos() function (retrieves current file position)
  • Created documentation for fsetpos() function (sets file position)
  • Updated links in existing files (ungetc.md, fpos_t.md, cstdio.md) from .nolink to proper links now that these functions are documented

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
reference/cstdio/fgetpos.md New documentation page for fgetpos function with signature, description, rationale, and example code
reference/cstdio/fsetpos.md New documentation page for fsetpos function with signature, description, rationale, and example code
reference/cstdio/ungetc.md Updated fsetpos link from .nolink to proper link
reference/cstdio/fpos_t.md Updated fgetpos and fsetpos links from .nolink to proper links
reference/cstdio.md Updated fgetpos and fsetpos links in the function table from .nolink to proper links

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 14, 2026

プレビュー (HTML) (更新時刻: 2026-02-14 22:50:31 JST)

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

変更記事一覧

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

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

rotarymars and others added 3 commits February 14, 2026 22:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

3 participants