1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal. All Rights Reserved. */
4
* Definitions in this file will be visible throughout glimpse source code.
5
* Any global flags or macros can should be defined here.
9
#define getcwd(buf,size) getwd(buf) /* NB: unchecked target size--could overflow; BG: Ok since buffers are usually >= 256B */
10
#define S_ISREG(mode) (((mode) & (_S_IFMT)) == (_S_IFREG))
11
#define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))