| 1 /* This file is part of the Project Athena Zephyr Notification System. |
1 /* This file is part of the Project Athena Zephyr Notification System. |
| 2 * It contains source for the ZMakeAscii function. |
2 * It contains source for the ZMakeAscii function. |
| 3 * |
3 * |
| 4 * Created by: Robert French |
4 * Created by: Robert French |
| 5 * |
5 * |
| 6 * $Source$ |
|
| 7 * $Author: chipx86 $ |
|
| 8 * |
|
| 9 * Copyright (c) 1987 by the Massachusetts Institute of Technology. |
6 * Copyright (c) 1987 by the Massachusetts Institute of Technology. |
| 10 * For copying and distribution information, see the file |
7 * For copying and distribution information, see the file |
| 11 * "mit-copyright.h". |
8 * "mit-copyright.h". |
| 12 */ |
9 */ |
| 13 /* $Header$ */ |
|
| 14 |
10 |
| 15 #include "internal.h" |
11 #include "internal.h" |
| 16 #include <assert.h> |
12 #include <assert.h> |
| 17 |
|
| 18 #ifndef lint |
|
| 19 static const char rcsid_ZMakeAscii_c[] = "$Id: ZMakeAscii.c 9554 2004-04-24 09:02:28Z chipx86 $"; |
|
| 20 #endif |
|
| 21 |
13 |
| 22 static char *itox_chars = "0123456789ABCDEF"; |
14 static char *itox_chars = "0123456789ABCDEF"; |
| 23 |
15 |
| 24 Code_t ZMakeAscii(ptr, len, field, num) |
16 Code_t ZMakeAscii(ptr, len, field, num) |
| 25 register char *ptr; |
17 register char *ptr; |