/usr/include/styx/dict.h is in styx-dev 2.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | /* ------------------------------------------------------------------------ */
/* */
/* [dict.h] Type: Dictionary */
/* */
/* Copyright (c) 1993 by D\olle, Manns */
/* ------------------------------------------------------------------------ */
/* File generated by 'ctoh'. Don't change manually. */
#ifndef dict_INCL
#define dict_INCL
#include "standard.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
[dict] provides platform-independant access to directories and their entries.
Supported platforms are Unix and Windows.
*/
/* ---------------------- Types ------------------------------------------- */
AbstractType(Dir); /* Abstract directory type */
AbstractType(Dentry); /* Abstract directory entry type */
/* -------------------------- Directory access ---------------------------- */
Dir Dir_open(c_string PathName); /* open directory 'PathName' */
Dentry Dir_read(Dir Directory); /* next directory entry */
c_string Dentry_name(Dentry Entry); /* name of 'Entry' */
Dir Dentry_open(Dentry Entry); /* open 'Entry' */
c_string Dentry_path(Dentry Entry); /* full path of 'Entry'; allocs memory */
c_bool Dentry_isDir(Dentry Entry); /* 'Entry' = directory ? */
c_bool Dentry_isFile(Dentry Entry); /* 'Entry' = regular file ? */
c_bool Dentry_isCDev(Dentry Entry); /* 'Entry' = character device ? */
c_bool Dentry_isBDev(Dentry Entry); /* 'Entry' = block device ? */
c_bool Dentry_isFifo(Dentry Entry); /* 'Entry' = FIFO ? */
c_string Dir_name(Dir Directory); /* name of 'Directory' */
void Dir_close(Dir Directory); /* close 'Directory' */
#ifdef __cplusplus
}
#endif
#endif
|