sane-project-website/old-archive/2001-03/0072.html

107 wiersze
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: OT: Is &quot;fileno()&quot; conform to ANSI or</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
<META NAME="Subject" CONTENT="Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?</H1>
<!-- received="Mon Mar 5 10:29:37 2001" -->
<!-- isoreceived="20010305182937" -->
<!-- sent="Mon, 05 Mar 2001 19:48:13 +0100" -->
<!-- isosent="20010305184813" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@rauch-domain.de" -->
<!-- subject="Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?" -->
<!-- id="3AA3DF6D.D471A54E@rauch-domain.de" -->
<!-- inreplyto="C30030B0FB40D31198270008C7DBAF1202D8EB17@TETGB001" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20OT:%20Is%20&quot;fileno()&quot;%20conform%20to%20ANSI%20or%20POSIX?&In-Reply-To=&lt;3AA3DF6D.D471A54E@rauch-domain.de&gt;"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Mar 05 2001 - 10:48:13 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0073.html">Petter Reinholdtsen: "Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0071.html">Jonathan Buzzard: "Re: Canoscan FB630U"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0070.html">Collins, Martin: "RE: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0073.html">Petter Reinholdtsen: "Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#72">[ date ]</A>
<A HREF="index.html#72">[ thread ]</A>
<A HREF="subject.html#72">[ subject ]</A>
<A HREF="author.html#72">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
&quot;Collins, Martin&quot; wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Oliver Rauch asked:
</EM><BR>
<EM>&gt; &gt; The question is if I can expect that fileno() is available
</EM><BR>
<EM>&gt; &gt; on most/all systems xsane does compile on.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I believe fileno() is specified in POSIX 1003.1 and is available
</EM><BR>
<EM>&gt; on HP-UX, AIX and QNX as well as in glibc. So you're probably safe
</EM><BR>
<EM>&gt; using it.
</EM><BR>
<P>Fine, thanks.
<BR>
<P>By the way, does anyone know if mmap does anything else than
<BR>
buffer=malloc(size) + fread(buffer, size, 1, file) ?
<BR>
<P>This way I would not depend on mmap and fileno.
<BR>
<P>Bye
<BR>
Oliver
<BR>
<P><PRE>
--
Homepage: <A HREF="http://www.rauch-domain.de">http://www.rauch-domain.de</A>
sane-umax: <A HREF="http://www.rauch-domain.de/sane-umax">http://www.rauch-domain.de/sane-umax</A>
xsane: <A HREF="http://www.xsane.org">http://www.xsane.org</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@rauch-domain.de?Subject=Re:%20OT:%20Is%20&quot;fileno()&quot;%20conform%20to%20ANSI%20or%20POSIX?&In-Reply-To=&lt;3AA3DF6D.D471A54E@rauch-domain.de&gt;">Oliver.Rauch@rauch-domain.de</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20OT:%20Is%20&quot;fileno()&quot;%20conform%20to%20ANSI%20or%20POSIX?&In-Reply-To=&lt;3AA3DF6D.D471A54E@rauch-domain.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0073.html">Petter Reinholdtsen: "Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0071.html">Jonathan Buzzard: "Re: Canoscan FB630U"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0070.html">Collins, Martin: "RE: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0073.html">Petter Reinholdtsen: "Re: OT: Is &quot;fileno()&quot; conform to ANSI or POSIX?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#72">[ date ]</A>
<A HREF="index.html#72">[ thread ]</A>
<A HREF="subject.html#72">[ subject ]</A>
<A HREF="author.html#72">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Mon Mar 05 2001 - 10:31:17 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>