|
1 #ifndef names_h |
|
2 #define names_h |
|
3 /* |
|
4 Copyright (C) 2000,2004 Silicon Graphics, Inc. All Rights Reserved. |
|
5 |
|
6 This program is free software; you can redistribute it and/or modify it |
|
7 under the terms of version 2 of the GNU General Public License as |
|
8 published by the Free Software Foundation. |
|
9 |
|
10 This program is distributed in the hope that it would be useful, but |
|
11 WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
13 |
|
14 Further, this software is distributed without any warranty that it is |
|
15 free of the rightful claim of any third person regarding infringement |
|
16 or the like. Any license provided herein, whether implied or |
|
17 otherwise, applies only to this software file. Patent licenses, if |
|
18 any, provided herein do not apply to combinations of this program with |
|
19 other software, or any other product whatsoever. |
|
20 |
|
21 You should have received a copy of the GNU General Public License along |
|
22 with this program; if not, write the Free Software Foundation, Inc., 51 |
|
23 Franklin Street - Fifth Floor, Boston MA 02110-1301, USA. |
|
24 |
|
25 Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, |
|
26 Mountain View, CA 94043, or: |
|
27 |
|
28 http://www.sgi.com |
|
29 |
|
30 For further information regarding this notice, see: |
|
31 |
|
32 http://oss.sgi.com/projects/GenInfo/NoticeExplan |
|
33 |
|
34 makename.h |
|
35 $Revision: 1.3 $ |
|
36 $Date: 2004/10/28 22:26:58 $ |
|
37 |
|
38 This is for putting strings into stable storage. |
|
39 |
|
40 Effectively an strdup() wrapper. |
|
41 |
|
42 Rarely called. |
|
43 |
|
44 It leaks memory, (the memory |
|
45 is never freed) but that seems unimportant since |
|
46 use of this is very rare. |
|
47 |
|
48 */ |
|
49 |
|
50 char * makename(char *); /* makes a copy of the string in |
|
51 a malloc area. Can never return 0. */ |
|
52 |
|
53 #endif |