/* --- Copyright University of Sussex 1996. All rights reserved. ----------
 * File:		S.pcunix/extern/lib/c_stat.c
 * Purpose:		Provide access to stat functions missing from some systems
 * Author:		Robert Duncan, Mar 29 1996 (see revisions)
 */

#include <sys/stat.h>
#include <unistd.h>

int pop_stat(const char *file_name, struct stat *buf) {
	return(stat(file_name, buf));
}

int pop_fstat(int filedes, struct stat *buf) {
	return(fstat(filedes, buf));
}

int pop_lstat(const char *file_name, struct stat *buf) {
	return(lstat(file_name, buf));
}

/* --- Revision History ---------------------------------------------------
--- Robert Duncan, Aug  9 1996
		Name changes
 */
