imapext-2007

view src/osdep/unix/os_pyr.h @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
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 */
14 /*
15 * Program: Operating-system dependent routines -- Pyramid OSx 4.4c version
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: 11 May 1989
26 * Last Edited: 30 January 2007
27 */
29 #include <strings.h>
30 #include <sys/types.h>
31 #include <sys/dir.h>
32 #include <fcntl.h>
33 #include <syslog.h>
34 #include <sys/file.h>
37 char *strtok (char *s,char *ct);
38 char *strtok_r (char *s,char *ct,char **r);
39 char *strstr (char *cs,char *ct);
40 char *strpbrk (char *cs,char *ct);
41 char *strerror (int n);
42 void *memmove (void *s,void *ct,size_t n);
43 void *memset (void *s,int c,size_t n);
44 void *malloc (size_t byteSize);
45 void free (void *ptr);
46 void *realloc (void *oldptr,size_t newsize);
48 int errno;
50 #define memcpy memmove
51 #define strchr index
52 #define strrchr rindex
54 #include "env_unix.h"
55 #include "fs.h"
56 #include "ftl.h"
57 #include "nl.h"
58 #include "tcp.h"

UW-IMAP'd extensions by yuuji