tsh (Tiny Shell) 구현
- 최초 등록일
- 2006.12.14
- 최종 저작일
- 2006.10
- C언어
- 가격 1,000원
소개글
Tiny Shell 을 구현한것
시그널 처리까지 해주었고 fore ground 모드와 back ground 모드 전부 실행된다.
내장명령어는 jobs, fg, bg, quit 등을 구현하였습니다.
컴파일 실행환경
linux환경
본문내용
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <errno.h>
#include <sys/stat.h>
/* Misc manifest constants */
#define MAXLINE 1024 /* max line size */
#define MAXARGS 128 /* max args on a command line */
#define MAXJOBS 16 /* max jobs at any point in time */
#define MAXJID 1<<16 /* max job ID */
참고 자료
없음