Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>


   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25  * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
  26  * Copyright (c) 2013 Gary Mills
  27  * Copyright 2014 Garrett D'Amore <garrett@damore.org>

  28  */
  29 
  30 /* LINTLIBRARY */
  31 /* PROTOLIB1 */
  32 
  33 #define __EXTENSIONS__
  34 
  35 #include <aio.h>
  36 #include <alloca.h>
  37 #include <attr.h>
  38 #include <atomic.h>
  39 #include <ctype.h>
  40 #include <deflt.h>
  41 #include <dirent.h>
  42 #include <dlfcn.h>
  43 #include <door.h>
  44 #include <err.h>
  45 #include <sys/errno.h>
  46 #include <euc.h>
  47 #include <fcntl.h>


 743 /* new_list.c */
 744 
 745 /* nftw.c */
 746 int nftw(const char *path, int (*fn)(), int depth, int flags);
 747 
 748 /* nl_langinfo.c */
 749 char *nl_langinfo(nl_item item);
 750 
 751 /* opendir.c */
 752 DIR *opendir(const char *filename);
 753 
 754 /* opt_data.c */
 755 
 756 /* perror.c */
 757 void perror(const char *s);
 758 
 759 /* pipe.c */
 760 int pipe(int *fds);
 761 
 762 /* psiginfo.c */
 763 void psiginfo(siginfo_t *sip, char *s);
 764 
 765 /* psignal.c */
 766 void psignal(int sig, const char *s);
 767 
 768 /* pt.c */
 769 char *ptsname(int fd);
 770 int unlockpt(int fd);
 771 int grantpt(int fd);
 772 
 773 /* putenv.c */
 774 int putenv(char *change);
 775 int setenv(const char *envname, const char *envval, int overwrite);
 776 int unsetenv(const char *name);
 777 
 778 /* putpwent.c */
 779 int putpwent(const struct passwd *p, FILE *f);
 780 
 781 /* qsort.c */
 782 void qsort(void *base, size_t n, size_t size, int (*compar)());
 783 




   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25  * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
  26  * Copyright (c) 2013 Gary Mills
  27  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  28  * Copyright 2015 Circonus, Inc.  All rights reserved.
  29  */
  30 
  31 /* LINTLIBRARY */
  32 /* PROTOLIB1 */
  33 
  34 #define __EXTENSIONS__
  35 
  36 #include <aio.h>
  37 #include <alloca.h>
  38 #include <attr.h>
  39 #include <atomic.h>
  40 #include <ctype.h>
  41 #include <deflt.h>
  42 #include <dirent.h>
  43 #include <dlfcn.h>
  44 #include <door.h>
  45 #include <err.h>
  46 #include <sys/errno.h>
  47 #include <euc.h>
  48 #include <fcntl.h>


 744 /* new_list.c */
 745 
 746 /* nftw.c */
 747 int nftw(const char *path, int (*fn)(), int depth, int flags);
 748 
 749 /* nl_langinfo.c */
 750 char *nl_langinfo(nl_item item);
 751 
 752 /* opendir.c */
 753 DIR *opendir(const char *filename);
 754 
 755 /* opt_data.c */
 756 
 757 /* perror.c */
 758 void perror(const char *s);
 759 
 760 /* pipe.c */
 761 int pipe(int *fds);
 762 
 763 /* psiginfo.c */
 764 void psiginfo(const siginfo_t *sip, const char *s);
 765 
 766 /* psignal.c */
 767 void psignal(int sig, const char *s);
 768 
 769 /* pt.c */
 770 char *ptsname(int fd);
 771 int unlockpt(int fd);
 772 int grantpt(int fd);
 773 
 774 /* putenv.c */
 775 int putenv(char *change);
 776 int setenv(const char *envname, const char *envval, int overwrite);
 777 int unsetenv(const char *name);
 778 
 779 /* putpwent.c */
 780 int putpwent(const struct passwd *p, FILE *f);
 781 
 782 /* qsort.c */
 783 void qsort(void *base, size_t n, size_t size, int (*compar)());
 784