ĐĎॹá>ţ˙ =?ţ˙˙˙<˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ěĽÁ` đżźbjbjć‡ć‡ 4&„í„íź ˙˙˙˙˙˙¤şşşşşşşÎ2$΃jbbbbbbbb$íhUb(şbbbbb(şşbb=ĆĆĆbşbşbĆbĆĆşşĆbV ç6ć}ČxĆS0ƒĆˇŽ"ˇĆˇşĆ<bbĆbbbbb((°bbbƒbbbbÎÎÎ$ ň$ ÎÎÎňÎÎÎşşşşşş˙˙˙˙ #include #include #include #define MAX_LINE 80 /* 80 chars per line, per command, should be enough. */ /* The setup function below will not return any value, but it will just: read in the next command line; separate it into distinct arguments (using blanks as delimiters), and set the args array entries to point to the beginning of what will become null-terminated, C-style strings. */ void setup(char inputBuffer[], char *args[],int *background) { int length, /* # of characters in the command line */ i, /* loop index for accessing inputBuffer array */ start, /* index where beginning of next command parameter is */ ct; /* index of where to place the next parameter into args[] */ ct = 0; /* read what the user enters on the command line */ length = read(STDIN_FILENO,inputBuffer,MAX_LINE); /* 0 is the system predefined file descriptor for stdin (standard input), which is the user's screen in this case. inputBuffer by itself is the same as &inputBuffer[0], i.e. the starting address of where to store the command that is read, and length holds the number of characters read in. inputBuffer is not a null terminated C-string. */ start = -1; if (length == 0) exit(0); /* ^d was entered, end of user command stream */ /* the signal interrupted the read system call */ /* if the process is in the read() system call, read returns -1 However, if this occurs, errno is set to EINTR. We can check this value and disregard the -1 value */ if ( (length < 0) && (errno != EINTR) ) { perror("error reading the command"); exit(-1); /* terminate with error code of -1 */ } printf(">>%s<<",inputBuffer); for (i=0;i 80 */ for (i = 0; i < ct; i++) printf("args %d = %s\n",i,args[i]); } /* end of setup routine */ int main(void) { char inputBuffer[MAX_LINE]; /* buffer to hold the command entered */ int background; /* equals 1 if a command is followed by '&' */ char *args[MAX_LINE/2 + 1];/* command line (of 80) has max of 40 arguments */ background = 0; printf("COMMAND->\n"); setup(inputBuffer,args,&background); /* get next command */ }  '/0;BOĽ Š ° ´ Ä Č Ń Ô č ë ô  . _ o ¨ ¸ ő  G „ ő 6 EIK‚ľŰęňOW]uyz}„ˆ‰ž¸şźčŐ˝čŐ˝čŐ˝čŐĽčŐčŐčŐčŐčŐĽŐĽŐĽŐĽŐĽŐĽŐčŐĽŐčŐ˝ŐĽŐ˝ŐčŐĽŐčŐčŐ˝ŐčŐ˝ŐĽŐčŐĽ.h7)ˆB* CJKHOJPJaJmHnHph€u.h7)ˆB* CJKHOJPJaJmHnHph€u%h7)ˆCJKHOJPJaJmHnHu.h7)ˆB*CJKHOJPJaJmHnHph˙uA':;‡ˆÖ% s ¤ Ľ â ä  _ ¨ ő ú   G  € Î  g ˛ ô óóóóóóóóóóóóóóóóóóóóóóóóóóóó $7$8$H$a$gd7)ˆźţô ő   g h š Ú %Es ŰáâNOp¸Ë#'uƒŒóóóóóóóóóóóóóóóóóóóóóóóóóóóó $7$8$H$a$gd7)ˆHLNu…Š™ž˘´ÜŢŕZ^ŠŤ°¸żÎéëí36x|…™Ł´Ęö÷ú)8TW]aeiŞŽąĘůýKdqtěÔěźě¤ě¤ěÔěźě¤ěÔěźě¤ě¤ěźě¤ě¤ěÔěÔěźěźěźě¤ěÔ쟤ě¤ě¤ěźě¤ěźě¤ěźěÔě.h7)ˆB*CJKHOJPJaJmHnHph˙u.h7)ˆB* CJKHOJPJaJmHnHph€u.h7)ˆB* CJKHOJPJaJmHnHph€u%h7)ˆCJKHOJPJaJmHnHu>Üđ)59`Š˛łéü 9Q~‚™´őö6STceŞůóóóóóóóóóóóóóóóóóóóóóóóóóóóó $7$8$H$a$gd7)ˆůK\tşźóóóóîgd7)ˆ $7$8$H$a$gd7)ˆtxŁşťźěŮÁŮź h=(io(.h7)ˆB* CJKHOJPJaJmHnHph€u%h7)ˆCJKHOJPJaJmHnHu%hď/CJKHOJPJaJmHnHu21h:p´ °Đ/ °ŕ=!°"°#Â$ %°°Đ°Đ Đ†œV@ń˙V Normal $1$a$$CJKHPJ_HaJmH nHsH tHDAň˙ĄD Default Paragraph FontRió˙łR  Table Normalö4Ö l4Öaö (kô˙Á(No Listź &˙˙˙˙':;‡ˆÖ%s¤Ľâä_¨őúG€Îg˛ôőghšÚ%Es ŰáâNOp¸Ë#'uƒŒÜđ) 5 9 ` Š ˛ ł é ü 9 Q ~ ‚ ™ ´ ő ö  6 S T c e Ş ů K \ t ş ž ˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€':;‡ˆÖ%s¤Ľâä_¨őúG€Îg˛ôőghšÚ%Es ŰáâNOp¸Ë#'uƒŒÜđ) 5 9 ` Š ˛ ł é ü 9 Q ~ ‚ ™ ´ ő ö  6 S T c e Ş ů K \ t ş ž ˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€š0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€˜0€€€š0€€€˜0€€€š0€€€š0€€€tź ô ůź ź   ž ö  ž ÷  ş ť ž   ž  ĺ7l ď/´ =(i\+v7)ˆ [ž—^˘źEŠ˙@€  äé°dd  @„Ŕ{ź €@˙˙Unknown˙˙˙˙˙˙˙˙˙˙˙˙G‡z €˙Times New Roman5€Symbol3& ‡z €˙Arial[† FixedsysArial Unicode MSW†SimSunArial Unicode MS ńˆ¤heâ˛fľ ş&ćÖ ćÖ !-!),.:;?]}¨ˇÇÉ    & 6"0000 0 0 00000˙˙˙ ˙ ˙˙˙˙˙=˙@˙\˙]˙^˙ŕ˙([{ˇ  0 0 00000˙˙;˙[˙á˙ĺ˙Âx´‚‚rś ś 2ƒKX)đ˙?¨˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙7)ˆ2˙˙#include <stdioOwneryumeihuoţ˙ŕ…ŸňůOhŤ‘+'łŮ0x˜°źĚŘäô  4 @ LX`hpä#include ţ˙˙˙ţ˙˙˙ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Root Entry˙˙˙˙˙˙˙˙ ŔFŕ>Eć}Č@€Data ˙˙˙˙˙˙˙˙˙˙˙˙1Table˙˙˙˙ˇWordDocument˙˙˙˙4&SummaryInformation(˙˙˙˙˙˙˙˙˙˙˙˙,DocumentSummaryInformation8˙˙˙˙˙˙˙˙4CompObj˙˙˙˙˙˙˙˙˙˙˙˙q˙˙˙˙˙˙˙˙˙˙˙˙ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ţ˙ ˙˙˙˙ ŔFMicrosoft Office Word Document MSWordDocWord.Document.8ô9˛q