Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

프로게스간 stdin 전달하는 방법??

9 views
Skip to first unread message

demiahn

unread,
May 26, 2009, 4:15:28 AM5/26/09
to
�Ʒ��� ���� stdin���κ����� �Է��� �޾� ó���ϴ� ���μ��� A�� �ֽ��ϴ�.
while (1) {
readn = (int) getline(&buf, &n, stdin);
/* ... */
}

���μ��� B���� ���ΰԽ� A�� stdin���� ���ڿ��� ������ ������,
��� �ϸ� �dz���?
��, ���μ��� A�� ���� stdin�� �ƴ϶� ���μ��� B�κ��� ��޵Ǵ� ���ڿ���
ó���ϰ� �ϰ� �ͽ��ϴ�.


demiahn

unread,
May 29, 2009, 7:17:00 AM5/29/09
to
Pipe�� �̿��ϸ� ��.
B | A
���� ����: pipe�� block������ flush�ǹǷ� printf���� fflush���Ѿ� ��.
(������Բ��� �˷��ּ̳׿�.)

"demiahn" <ahnda...@gmail.com> wrote in message
news:gvg8f0$svp$1...@news.kreonet.re.kr...

0 new messages