rewind(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

rewind(3c)

rewind(3C)               Standard C Library Functions               rewind(3C)

NAME
       rewind - reset file position indicator in a stream

SYNOPSIS
       #include <stdio.h>

       void rewind(FILE *stream);

DESCRIPTION
       The call:

         rewind(stream)



       is equivalent to:

         (void) fseek(stream, 0L, SEEK_SET)



       except that rewind() also clears the error indicator.

RETURN VALUES
       The rewind() function returns no value.

ERRORS
       Refer to fseek(3C) with the exception of EINVAL which does not apply.

USAGE
       Because rewind() does not return a value, an application wishing to de‐
       tect  errors  should  clear  errno, then call rewind(), and if errno is
       non-zero, assume an error has occurred.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Stan‐
       dardSee standards(7).


SEE ALSO
       fseek(3C), attributes(7), standards(7)

Oracle Solaris 11.4               14 Aug 2002                       rewind(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3