fgetpos.3s

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3S 代码 · 共 33 行

3S
33
字号
.TH fgetpos 3s.SH Namefgetpos, fsetpos \- save and restore stream position.SH Syntax.B #include <stdio.h>.PP.B int fgetpos (\fIstream, pos\fP).br.B FILE *\fIstream\fP;.br.B fpos_t *\fIpos\fP;.PP.B int fsetpos (\fIstream, pos\fP).br.B FILE *\fIstream\fP;.br.B fpos_t *\fIpos\fP;.SH DescriptionThe.PN fgetposfunction stores the current position of \fIstream\fP in \fIpos\fP..PPThe.PN fsetposfunction restores \fIstream\fP to the position returned by an earlier.PN fgetposcall..SH Return ValuesIf successful, the return value is zero; on failure, a nonzero value isreturned and errno is set to the appropriate value..SH See Alsofseek(3s)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?