From ab9a92745943a16b9a38d4d4d3f374bf9241c837 Mon Sep 17 00:00:00 2001 From: Unknown <> Date: Tue, 30 Jan 2007 23:21:27 +0000 Subject: [PATCH] add files for 2007-01-30T23:21:27Z --- src/osdep/unix/os_pyr.h | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/osdep/unix/os_pyr.h diff --git a/src/osdep/unix/os_pyr.h b/src/osdep/unix/os_pyr.h new file mode 100644 index 0000000..c7c7e57 --- /dev/null +++ b/src/osdep/unix/os_pyr.h @@ -0,0 +1,58 @@ +/* ======================================================================== + * Copyright 1988-2007 University of Washington + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * + * ======================================================================== + */ + +/* + * Program: Operating-system dependent routines -- Pyramid OSx 4.4c version + * + * Author: Mark Crispin + * Networks and Distributed Computing + * Computing & Communications + * University of Washington + * Administration Building, AG-44 + * Seattle, WA 98195 + * Internet: MRC@CAC.Washington.EDU + * + * Date: 11 May 1989 + * Last Edited: 30 January 2007 + */ + +#include +#include +#include +#include +#include +#include + + +char *strtok (char *s,char *ct); +char *strtok_r (char *s,char *ct,char **r); +char *strstr (char *cs,char *ct); +char *strpbrk (char *cs,char *ct); +char *strerror (int n); +void *memmove (void *s,void *ct,size_t n); +void *memset (void *s,int c,size_t n); +void *malloc (size_t byteSize); +void free (void *ptr); +void *realloc (void *oldptr,size_t newsize); + +int errno; + +#define memcpy memmove +#define strchr index +#define strrchr rindex + +#include "env_unix.h" +#include "fs.h" +#include "ftl.h" +#include "nl.h" +#include "tcp.h" -- 2.50.1