| 1 |
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved. |
| 2 |
This software is licensed as OpenSource, under the Apache License, Version 2.0. |
| 3 |
This license is available at: http://opensource.org/licenses/Apache-2.0. */ |
| 4 |
|
| 5 |
/* |
| 6 |
ossyslib.h |
| 7 |
*/ |
| 8 |
|
| 9 |
/* |
| 10 |
* The purpose of ossyslib.h is to provide declarations for routines that |
| 11 |
* are provided by the system's libraries but, alas, not declared in system |
| 12 |
* header files. |
| 13 |
* XXX: The function of this file could be shifted to util.h, allowing a |
| 14 |
* simplification of the atm->20xx source code transfer. |
| 15 |
*/ |
| 16 |
|
| 17 |
/* Declarations for system library routines on Unix machines */ |
| 18 |
#ifndef OSSYSLIB_H |
| 19 |
#define OSSYSLIB_H |
| 20 |
|
| 21 |
#if 0 /* TSD */ |
| 22 |
|
| 23 |
#if OS == os_mach /* next machines */ |
| 24 |
#include <libc.h> |
| 25 |
#define bcopy(from, to, len) ((void)memmove(to, from, len)) |
| 26 |
#define bzero(b, len) memset(b, 0, len) |
| 27 |
|
| 28 |
#endif /* TSD */ |
| 29 |
|
| 30 |
#endif /* OSSYSLIB_H */ |