Date: Mon, 6 Jul 1998 12:00:11 +0300 (IDT) From: Eli Zaretskii To: OoHOSEoO cc: djgpp AT delorie DOT com Subject: Re: fnsplit()'s return - flags? In-Reply-To: <1998070600164800.UAA00423@ladder01.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 6 Jul 1998, OoHOSEoO wrote: > The function fnsplit() in dir.h returns an integer value with different bit > flags... how exactly do I use them? Subtract then hex values > somehow? bitwise & with the flag constant? The latter. The flags are single-bit constants (see dir.h), so (flag & WILDCARDS) says whether the argument included wildcards, etc.