[function] access 함수 알아보기
·
프로그래밍/C
📌 매뉴얼 (Linux)더보기NAME       access - check user's permissions for a file: 파일에 대한 사용자 권한 확인SYNOPSIS       #include        int access(const char *pathname, int mode);DESCRIPTION       access()  checks  whether  the calling process can access the file pathname.  If pathname is a       symbolic link, it is dereferenced.       The mode specifies the accessibility check(s) to be performed, and is eith..
[function] strerror 함수 알아보기
·
프로그래밍/C
📌 매뉴얼 (Linux)더보기NAME       strerror - return string describing error number: 오류 번호를 설명하는 문자열을 반환SYNOPSIS       #include        char *strerror(int errnum);DESCRIPTION       The strerror() function returns a pointer to a  string  that  describes       the  error  code  passed  in  the  argument  errnum, possibly using the       LC_MESSAGES part of the current locale to select the  appropriate  la..
[function] perror 함수 알아보기
·
프로그래밍/C
📌 매뉴얼 (Linux)더보기 NAME       perror - print a system error message: 시스템 에러 메시지 출력하기SYNOPSIS       #include        void perror(const char *s);       #include        const char * const sys_errlist[];       int sys_nerr;       int errno;       /* Not really declared this way; see errno(3) */DESCRIPTION       The  perror()  function produces a message on standard error describing       the last erro..