projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history]
/
gnu
/
libexec
/
uucp
/
libunix
/
isdir.c
/* isdir.c
See whether a file exists and is a directory. */
#include
"uucp.h"
#include
"system.h"
#include
"sysdep.h"
boolean
fsysdep_directory
(
z
)
const char
*
z
;
{
struct
stat s
;
if
(
stat
((
char
*)
z
, &
s
) <
0
)
return
FALSE
;
return
S_ISDIR
(
s
.
st_mode
);
}