2 * Copyright (c) 1993 Michael A. Cooper
3 * Copyright (c) 1993 Regents of the University of California.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. All advertising materials mentioning features or use of this software
15 * must display the following acknowledgement:
16 * This product includes software developed by the University of
17 * California, Berkeley and its contributors.
18 * 4. Neither the name of the University nor the names of its contributors
19 * may be used to endorse or promote products derived from this software
20 * without specific prior written permission.
22 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * $Id: os-dragonfly.h,v 1.1 2006/03/23 13:41:41 joerg Exp $
41 * DragonFly os-*.h file
44 #define NEED_RE_COMP_H
47 * Set process args to messages that show up when running ps(1)
49 * NetBSD has setproctitle() in libc so we don't want to use rdist's.
51 #define HAVE_SETPROCTITLE
54 * Define the type of directory routines your system has.
56 #define DIR_TYPE DIR_DIRENT
59 * Determine what routines we have to get filesystem info.
61 #define FSI_TYPE FSI_GETFSSTAT
64 * Type of non-blocking I/O.
66 #define NBIO_TYPE NBIO_FCNTL
69 * Type of wait() function to use.
71 #define WAIT_TYPE WAIT_WAIT3
74 * Type of argument passed to wait() (above).
76 #define WAIT_ARG_TYPE int
79 * Select the type of executable file format.
81 #define EXE_TYPE EXE_ELF
84 * Select the type of statfs() system call (if any).
86 #define STATFS_TYPE STATFS_44BSD
89 * Use f_fstypename in struct statfs.
91 #define HAVE_FSTYPENAME 1
94 * Type of arg functions we have.
96 #define ARG_TYPE ARG_STDARG
99 * Do we have select()?
104 * Name of <paths.h> include file
106 #define PATHS_H <paths.h>
109 * UID argument type for chown()
111 typedef uid_t CHOWN_UID_T;
114 * GID argument type for chown()
116 typedef gid_t CHOWN_GID_T;
119 * Our types, usually these are uid_t and gid_t.
121 typedef uid_t UID_T; /* Must be signed */
122 typedef gid_t GID_T; /* Must be signed */
125 * Generic pointer, used by memcpy, malloc, etc. Usually char or void.
127 typedef void POINTER;
130 * Type of set file time function available
132 #define SETFTIME_TYPE SETFTIME_UTIMES
150 * We have vsnprintf()
152 #define HAVE_VSNPRINTF
155 * Path to remote shell command
157 #define _PATH_REMSH "/usr/bin/rsh"