Debian Codegraph @

imap/src/osdep/unix/os_qn6.c

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 /* ========================================================================
2 * Copyright 2008-2009 Mark Crispin
3 * ========================================================================
4 */
5
6 /*
7 * Program: Operating-system dependent routines -- QNX 6 version
8 *
9 * Author: Mark Crispin
10 *
11 * Date: 1 August 1993
12 * Last Edited: 17 April 2009
13 *
14 * Previous versions of this file were
15 *
16 * Copyright 1988-2006 University of Washington
17 *
18 * Licensed under the Apache License, Version 2.0 (the "License");
19 * you may not use this file except in compliance with the License.
20 * You may obtain a copy of the License at
21 *
22 * http://www.apache.org/licenses/LICENSE-2.0
23 *
24 */
25
26 #include "tcp_unix.h" /* must be before osdep includes tcp.h */
27 #include "mail.h"
28 #include "osdep.h"
29 #include <stdio.h>
30 #include <sys/stat.h>
31 #include <sys/time.h>
32 #include <sys/socket.h>
33 #include <netinet/in.h>
34 #include <arpa/inet.h>
35 #include <netdb.h>
36 #include <ctype.h>
37 #include <errno.h>
38 extern int errno; /* just in case */
39 #include <pwd.h>
40 #include <shadow.h>
41 #include <sys/select.h>
42 #include "misc.h"
43
44 #define DIR_SIZE(d) d->d_reclen
45
46 #include "fs_unix.c"
47 #include "ftl_unix.c"
48 #include "nl_unix.c"
49 #include "env_unix.c"
50 #include "tcp_unix.c"
51 #include "gr_wait.c"
52 #include "tz_sv4.c"
53 #include "gethstid.c"
54 #include "flocksim.c"
55 #include "utime.c"
56
57 /* QNX local ustat()
58 * Accepts: device id
59 * returned statistics
60 * Returns: 0 if success, -1 if failure with errno set
61 */
62
63 int ustat (dev_t dev,struct ustat *ub)
64 {
65 errno = ENOSYS; /* fstatvfs() should have been tried first */
66 return -1;
67 }