kopia lustrzana https://gitlab.com/sane-project/website
105 wiersze
3.9 KiB
HTML
105 wiersze
3.9 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: Avilability of strstr</TITLE>
|
||
<META NAME="Author" CONTENT="Frederik Ramm (frederik@remote.org)">
|
||
<META NAME="Subject" CONTENT="Avilability of strstr">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Avilability of strstr</H1>
|
||
<!-- received="Tue Mar 6 11:52:18 2001" -->
|
||
<!-- isoreceived="20010306195218" -->
|
||
<!-- sent="Tue, 6 Mar 2001 20:06:41 +0000" -->
|
||
<!-- isosent="20010306200641" -->
|
||
<!-- name="Frederik Ramm" -->
|
||
<!-- email="frederik@remote.org" -->
|
||
<!-- subject="Avilability of strstr" -->
|
||
<!-- id="20010306200641.A2668@aruba.remote.org" -->
|
||
<STRONG>From:</STRONG> Frederik Ramm (<A HREF="mailto:frederik@remote.org?Subject=Re:%20Avilability%20of%20strstr&In-Reply-To=<20010306200641.A2668@aruba.remote.org>"><EM>frederik@remote.org</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Tue Mar 06 2001 - 12:06:41 PST
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0094.html">Oliver Rauch: "Re: INQUIRY: leave one blank at the end..."</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0092.html">Randolph Bentson: "Re: Canoscan FB630U"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0095.html">Oliver Rauch: "Re: Avilability of strstr"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0095.html">Oliver Rauch: "Re: Avilability of strstr"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#93">[ date ]</A>
|
||
<A HREF="index.html#93">[ thread ]</A>
|
||
<A HREF="subject.html#93">[ subject ]</A>
|
||
<A HREF="author.html#93">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
Hi,
|
||
<BR>
|
||
<P> I'm not well-experienced in cross-platform C programming so forgive
|
||
<BR>
|
||
me for asking a bit outside SANE's scope:
|
||
<BR>
|
||
<P>I want to use strstr in my backend.
|
||
<BR>
|
||
<P>I have noticed that the SANE "configure" script checks for existence
|
||
<BR>
|
||
of "strstr" on my platform and sets HAVE_STRSTR accordingly.
|
||
<BR>
|
||
<P>Do I have to do the following...
|
||
<BR>
|
||
<P>#ifndef HAVE_STRSTR
|
||
<BR>
|
||
char *strstr(const char *haystack, const char *needle) {
|
||
<BR>
|
||
/* ... my own implementation ... */
|
||
<BR>
|
||
}
|
||
<BR>
|
||
#endif
|
||
<BR>
|
||
<P>or is that done for me in some magical way I haven't discovered? I
|
||
<BR>
|
||
don't have a platform without strstr support otherwise I'd just try.
|
||
<BR>
|
||
<P><P>Bye
|
||
<BR>
|
||
Frederik
|
||
<BR>
|
||
<P><PRE>
|
||
--
|
||
Frederik Ramm ## eMail <A HREF="mailto:frederik@remote.org?Subject=Re:%20Avilability%20of%20strstr&In-Reply-To=<20010306200641.A2668@aruba.remote.org>">frederik@remote.org</A> ## N57<35>48.10' W005<30>40.32'
|
||
<P><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:%20Avilability%20of%20strstr&In-Reply-To=<20010306200641.A2668@aruba.remote.org>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0094.html">Oliver Rauch: "Re: INQUIRY: leave one blank at the end..."</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0092.html">Randolph Bentson: "Re: Canoscan FB630U"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0095.html">Oliver Rauch: "Re: Avilability of strstr"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0095.html">Oliver Rauch: "Re: Avilability of strstr"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#93">[ date ]</A>
|
||
<A HREF="index.html#93">[ thread ]</A>
|
||
<A HREF="subject.html#93">[ subject ]</A>
|
||
<A HREF="author.html#93">[ 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>Tue Mar 06 2001 - 11:53:24 PST</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|