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

개요

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

remove(3c)

remove(3C)               Standard C Library Functions               remove(3C)

NAME
       remove - remove file

SYNOPSIS
       #include <stdio.h>

       int remove(const char *path);

DESCRIPTION
       The  remove() function causes the file or empty directory whose name is
       the string pointed to by path to be no longer accessible by that  name.
       A  subsequent  attempt to open that file using that name will fail, un‐
       less the file is created anew.


       For files, remove() is identical to unlink(). For directories, remove()
       is identical to rmdir().


       See rmdir(2) and unlink(2) for a detailed list of failure conditions.

RETURN VALUES
       Upon successful completion, remove() returns 0. Otherwise,  it  returns
       −1 and sets errno to indicate an error.

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
       rmdir(2), unlink(2), attributes(7), standards(7)

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