Print this page
make: remove SCCS ident stuff


   7  * Common Development and Distribution License (the "License").
   8  * You may not use this file except in compliance with the License.
   9  *
  10  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11  * or http://www.opensolaris.org/os/licensing.
  12  * See the License for the specific language governing permissions
  13  * and limitations under the License.
  14  *
  15  * When distributing Covered Code, include this CDDL HEADER in each
  16  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17  * If applicable, add the following below this CDDL HEADER, with the
  18  * fields enclosed by brackets "[]" replaced with your own identifying
  19  * information: Portions Copyright [yyyy] [name of copyright owner]
  20  *
  21  * CDDL HEADER END
  22  */
  23 /*
  24  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  25  * Use is subject to license terms.
  26  */
  27 /*
  28  * @(#)misc.h 1.4 06/12/12
  29  */
  30 
  31 #pragma ident   "@(#)misc.h     1.4     06/12/12"
  32 
  33 #include <mksh/defs.h>
  34 
  35 extern void     append_char(wchar_t from, register String to);
  36 extern Property append_prop(register Name target, register Property_id type);
  37 extern void     append_string(register wchar_t *from, register String to, register int length);
  38 extern void     enable_interrupt(register void (*handler) (int));
  39 extern char     *errmsg(int errnum);
  40 extern void     fatal_mksh(char * message, ...);
  41 extern void     fatal_reader_mksh(char * pattern, ...);
  42 extern char     *get_current_path_mksh(void);
  43 extern Property get_prop(register Property start, register Property_id type);
  44 extern char     *getmem(register int size);
  45 extern Name     getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL);
  46 extern void     store_name(Name name);
  47 extern void     free_name(Name name);
  48 extern void     handle_interrupt_mksh(int);
  49 extern Property maybe_append_prop(register Name target, register Property_id type);
  50 extern void     retmem(wchar_t *p);
  51 extern void     retmem_mb(caddr_t p);


   7  * Common Development and Distribution License (the "License").
   8  * You may not use this file except in compliance with the License.
   9  *
  10  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11  * or http://www.opensolaris.org/os/licensing.
  12  * See the License for the specific language governing permissions
  13  * and limitations under the License.
  14  *
  15  * When distributing Covered Code, include this CDDL HEADER in each
  16  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17  * If applicable, add the following below this CDDL HEADER, with the
  18  * fields enclosed by brackets "[]" replaced with your own identifying
  19  * information: Portions Copyright [yyyy] [name of copyright owner]
  20  *
  21  * CDDL HEADER END
  22  */
  23 /*
  24  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  25  * Use is subject to license terms.
  26  */





  27 
  28 #include <mksh/defs.h>
  29 
  30 extern void     append_char(wchar_t from, register String to);
  31 extern Property append_prop(register Name target, register Property_id type);
  32 extern void     append_string(register wchar_t *from, register String to, register int length);
  33 extern void     enable_interrupt(register void (*handler) (int));
  34 extern char     *errmsg(int errnum);
  35 extern void     fatal_mksh(char * message, ...);
  36 extern void     fatal_reader_mksh(char * pattern, ...);
  37 extern char     *get_current_path_mksh(void);
  38 extern Property get_prop(register Property start, register Property_id type);
  39 extern char     *getmem(register int size);
  40 extern Name     getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL);
  41 extern void     store_name(Name name);
  42 extern void     free_name(Name name);
  43 extern void     handle_interrupt_mksh(int);
  44 extern Property maybe_append_prop(register Name target, register Property_id type);
  45 extern void     retmem(wchar_t *p);
  46 extern void     retmem_mb(caddr_t p);