MCPcopy Create free account
hub / github.com/coreutils/coreutils / cache_stat_init

Function cache_stat_init

src/remove.c:82–89  ·  view source on GitHub ↗

Initialize a fstatat cache *ST. Return ST for convenience. */

Source from the content-addressed store, hash-verified

80
81/* Initialize a fstatat cache *ST. Return ST for convenience. */
82static inline struct stat *
83cache_stat_init (struct stat *st)
84{
85#if HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
86 st->st_atim.tv_nsec = -1;
87#endif
88 return st;
89}
90
91/* Return 1 if FILE is an unwritable non-symlink,
92 0 if it is writable or some other type of file,

Callers 1

promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected