EmbLogic's Blog

implimented the fork() & execl() for writing into a file from another file.

RCS file: replacing.c,v
Working file: replacing.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
opened the file
—————————-
revision 1.5 locked by: root;
date: 2015/02/26 10:54:29; author: root; state: Exp; lines: +4 -2
modification in open statement
—————————-
revision 1.4
date: 2015/02/26 10:30:24; author: root; state: Exp; lines: +5 -5
*** empty log message ***
—————————-
revision 1.3
date: 2015/02/26 09:40:14; author: root; state: Exp; lines: +4 -2
convert fd into char
and pass the fd by argument
—————————-
revision 1.2
date: 2015/02/26 09:11:08; author: root; state: Exp; lines: +2 -2
put \n in the end of printf()
—————————-
revision 1.1
date: 2015/02/26 09:06:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: hello.c,v
Working file: hello.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
—————————-
revision 1.6 locked by: root;
date: 2015/02/26 10:54:51; author: root; state: Exp; lines: +1 -1
print fd
—————————-
revision 1.5
date: 2015/02/26 10:30:26; author: root; state: Exp; lines: +4 -3
*** empty log message ***
—————————-
revision 1.4
date: 2015/02/26 09:45:17; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.3
date: 2015/02/26 09:43:11; author: root; state: Exp; lines: +1 -1
declare buff
—————————-
revision 1.2
date: 2015/02/26 09:41:10; author: root; state: Exp; lines: +5 -0
covert the fd into int
—————————-
revision 1.1
date: 2015/02/26 09:06:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
include stdio.h, stdlib.h, fcntl.h &unistd.h
—————————-
revision 1.1 locked by: root;
date: 2015/02/26 09:06:38; author: root; state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>