osk.h

wsh/binsrc/elvis-1.7/osk.h · 726 B

From the archive wsh-147.tar.gz

Download the archive   « Back to the archive contents

/*
 * OS9 stat : @(#)stat.h	1.2 87/19/12
 */
/* @(#)stat.h	6.1 */
/*
 * Structure of the result of stat
 */

#ifndef CLK_TCK
#include <time.h>
#endif

struct	stat
{
	int	st_dev;
	long	st_ino;
	unsigned short	st_mode;
	unsigned short	st_nlink;
	unsigned short	st_uid;
	unsigned short	st_gid;
	int	st_rdev;
	long	st_size;
	time_t	st_atime;
	time_t	st_mtime;
	time_t	st_ctime;
};

/*
 * Password Definitions
 */
 
struct passwd {
  char *pw_name;
  char *pw_passwd;
  int  pw_uid;
  int  pw_gid;
  int  pw_prio;                 /* OS9: Priority of entry */
  char *pw_dir;
  char *pw_xdir;                /* OS9: Execution Directory */
  char *pw_shell;
};

extern struct passwd  *getpwuid();

#define PASSWD	"/dd/SYS/password"

Site Stats

Snippets: 1791
Codebases: 571