MINIX 소스 코드 분석
- 최초 등록일
- 2007.06.18
- 최종 저작일
- 2007.01
- 3페이지/ 압축파일
- 가격 2,000원
소개글
MINIX의 chmod.c, mycmp.c, mygrep.c, mypasswd.c 의 분석자료입니다.
소스코드 분석입니다. 코멘트파일입니다.
목차
<b>코멘트 변경된 - chmod.c
changemycmp.txt
mygrep.c
mypasswd.c</b>
본문내용
/* chmod - Change file modes Author: V. Archer */
/* Copyright 1991 by Vincent Archer
* You may freely redistribute this software, in source or binary
* form, provided that you do not alter this copyright mention in any
* way.
*/
#include <sys/types.h> /* 메시지큐 생산과 관련 */
#include <sys/stat.h> /* 파일 상태 정보 관련 */
#include <dirent.h> /* 디렉토리 정보 관련 */
#include <errno.h> /* 에러값 관련 */
#include <limits.h> /* 각종 제한값을 파라메터화한 부가적인 상수등을 정의 */
#include <stdlib.h> /* 기본적인 함수에 대한 정보를 가진 헤더 파일 */
#include <string.h> /* 문자열 관련 */
#include <unistd.h> /* 시스템 호출과 관련 */
#include <minix/minlib.h>
#include <stdio.h> /* 입출력과 관련 */
#ifndef S_ISLNK /* 만약 심볼릭 링크가 정의되어 있지 않다면 */
#define S_ISLNK(mode) 0 /* 심볼릭 링크를 정의한다 */
#define lstat stat /* istat를 stat로 정의한다 */
#endif /* ifndef - endif 구문 끝 */
참고 자료
없음
압축파일 내 파일목록
mypasswd.c
코멘트 변경된 - chmod.c
changemycmp.txt
mygrep.c