Adjusted a little bit of syntax (personal)
This commit is contained in:
parent
702b77073f
commit
94f2c4fcb8
@ -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)
|
||||||
// {
|
// {
|
||||||
|
Loading…
Reference in New Issue
Block a user