[Top][All Lists]

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

Re: operations on FILE streams

From: Paul Eggert
Subject: Re: operations on FILE streams
Date: Fri, 13 Apr 2007 12:12:32 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Interesting that Solaris has all these. Yes I think such modules would be
> useful in gnulib. Except that the gnulib function names should not have a
> '__' prefix, since '__' is in the system's namespace.

But the function names use leading __ in both Solaris and glibc, and I
expect that if they are ever standardized they'll be standardized with
the leading __.  So for this particular case I suggest using names
with leading __, at least in user code, as that will keep the code
more portable.  Gnulib can do "#define __fpurge rpl__fpurge" if
necessary (which I don't think will be needed).

reply via email to

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