Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 17:40:10 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: testing for directory
Message-ID:  <17681BA2-A58C-4808-A0EB-09339E67504E@goldmark.org>
In-Reply-To: <17973.654.765099.201323@jerusalem.litteratus.org>
References:  <17973.654.765099.201323@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 29, 2007, at 3:39 PM, Robert Huff wrote:

>
> 	In C code, is there a quick and dirty way to tell if a path
> points to a directory?

man 2 stat

Cheers,

-j

-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17681BA2-A58C-4808-A0EB-09339E67504E>