0
|
1 /* ========================================================================
|
|
2 * Copyright 1988-2007 University of Washington
|
|
3 *
|
|
4 * Licensed under the Apache License, Version 2.0 (the "License");
|
|
5 * you may not use this file except in compliance with the License.
|
|
6 * You may obtain a copy of the License at
|
|
7 *
|
|
8 * http://www.apache.org/licenses/LICENSE-2.0
|
|
9 *
|
|
10 *
|
|
11 * ========================================================================
|
|
12 */
|
|
13
|
|
14 /*
|
|
15 * Program: Operating-system dependent routines -- Windows Vista SUA
|
|
16 *
|
|
17 * Author: Mark Crispin
|
|
18 * Networks and Distributed Computing
|
|
19 * Computing & Communications
|
|
20 * University of Washington
|
|
21 * Administration Building, AG-44
|
|
22 * Seattle, WA 98195
|
|
23 * Internet: MRC@CAC.Washington.EDU
|
|
24 *
|
|
25 * Date: 10 September 1993
|
|
26 * Last Edited: 4 May 2007
|
|
27 */
|
|
28
|
|
29 #define _REENTRANT /* for strtok_r() */
|
|
30 #include <stdlib.h>
|
|
31 #include <string.h>
|
|
32 #include <unistd.h>
|
|
33 #include <sys/types.h>
|
|
34 #include <dirent.h>
|
|
35 #include <time.h> /* for struct tm */
|
|
36 #include <fcntl.h>
|
|
37 #include <syslog.h>
|
|
38 #include <sys/file.h>
|
|
39
|
|
40
|
|
41 #define setpgrp setpgid
|
|
42
|
|
43 #define direct dirent
|
|
44
|
|
45
|
|
46 #include "env_unix.h"
|
|
47 #include "fs.h"
|
|
48 #include "ftl.h"
|
|
49 #include "nl.h"
|
|
50 #include "tcp.h"
|