Plan 9 from Bell Labs’s /usr/web/sources/contrib/de0u/root/sys/src/cmd/squeak/Plan9/vm/sqPlatformSpecific.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*
 * Plan9-specific changes to sq.h
 */

#include <stdio.h>

typedef long long squeakFileOffsetType;
typedef unsigned long size_t;
typedef long time_t;
int rename(const char*, const char*);

#define MAXPATHLEN FILENAME_MAX

#undef ioMSecs

#define exit(n) do { \
					if (n == 0) threadexitsall(NULL); \
					else { \
					char errmsg[20]; \
					sprint(errmsg, "Exit value: %d", n); \
					threadexitsall(errmsg); \
					} \
				} while (0)


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].