Adjusted a little bit of syntax (personal)
This commit is contained in:
+1
-2
@@ -150,12 +150,11 @@ void ExecPipe()
|
|||||||
void append(char *input, char *file)
|
void append(char *input, char *file)
|
||||||
{
|
{
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
fp = fopen(file, "a+");
|
fp = fopen(file, "a+");
|
||||||
|
|
||||||
fputs(input, fp);
|
fputs(input, fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
// check command standard input
|
// check command standard input
|
||||||
// if (strchr(inputString, '<') != NULL)
|
// if (strchr(inputString, '<') != NULL)
|
||||||
// {
|
// {
|
||||||
|
|||||||
Reference in New Issue
Block a user