unlink(3f) 맨 페이지 - 윈디하나의 솔라나라

개요

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

unlink(3f)

unlink(3F)                 Fortran Library Functions                unlink(3F)



NAME
       unlink - remove a file

SYNOPSIS
       integer function unlink ( name )
       character *(*) name

DESCRIPTION
       The  function  unlink removes the file specified by the path name name.
       If this is the last link to the file, the  contents  of  the  file  are
       lost.  The  returned  value  is zero if successful, a system error code
       otherwise.

EXAMPLE
       The following program removes the file stuff:


         demo% ls
         a.f     other   stuff
         demo% cat a.f
                external unlink
                call unlink( 'stuff' )
                stop
                end
         demo% f77 a.f
         a.f:
          MAIN:
         demo% ls
         a.f     a.out*  other   stuff
         demo% a.out
         demo% ls
         a.f     a.out*  other
         demo%



FILES
       libfsu.a

SEE ALSO
       unlink(2), link(3F), perror(3F)

BUGS
       Path  names  cannot  be  longer   than   MAXPATHLEN   as   defined   in
       <sys/param.h>.



Studio 12.6                     September 2015                      unlink(3F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3