🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12725

A file is directory

#12725
From: Sten Larsson
Date: Wed, 19 Nov 2003 06:06
6 lines
970 bytes
How can I figure out if a path is a directory or a file? Preferrably in
plain c (as opposed to Win32).

Thanks!

/sten
Technical Details
Message-ID: <3fbb07d7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,49b53b5f67858186,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-18 22:09:13 PST
From: "Sten Larsson" <s_t_enX@Xs_ten_l.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: A file is directory
Date: Tue, 18 Nov 2003 22:06:43 -0800
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 206.111.137.226
Message-ID: <3fbb07d7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069221847 206.111.137.226 (18 Nov 2003 22:04:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail