bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fpurge.c on Plan9/APE


From: Jens Staal
Subject: Re: fpurge.c on Plan9/APE
Date: Fri, 03 Feb 2012 16:25:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120129 Thunderbird/9.0.1

2012-02-03 06:35, Paul Eggert skrev:
On 02/02/2012 08:14 PM, Jens Staal wrote:
So I should use *rp and *wp
- but how?
I suggest getting a copy of the Plan 9 source code,
and looking at how getchar and putchar work.
from stdio.h:

extern int getchar(void);
#define getchar() getc(stdin)

extern int putchar(int);
#define putchar() putc(c, stdout)

I think the problem basically is that I do not fully understand what is done in all those other OSes defined in fpurge.c and what is expected from this function.... Sorry for being so nooby. I am basically (for fun) trying to port stuff to Plan9 as a hobby project [1] and ran into this issue when trying to port GNU m4 and I am sort of lost...

[1] http://code.google.com/p/ports2plan9/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]