mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibC: implement fgetpos and fsetpos
They're just "front ends" for ftell and fseek, but they do their job. Fixes #913
This commit is contained in:
parent
2cbc3c6ee5
commit
b5c3bc6a71
Notes:
sideshowbarker
2024-07-19 10:36:02 +09:00
Author: https://github.com/Mcpg
Commit: b5c3bc6a71
Pull-request: https://github.com/SerenityOS/serenity/pull/933
2 changed files with 21 additions and 1 deletions
|
@ -45,7 +45,7 @@ extern FILE* stdin;
|
|||
extern FILE* stdout;
|
||||
extern FILE* stderr;
|
||||
|
||||
typedef size_t fpos_t;
|
||||
typedef long fpos_t;
|
||||
|
||||
int fseek(FILE*, long offset, int whence);
|
||||
int fgetpos(FILE*, fpos_t*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue