diff options
Diffstat (limited to 'usr/src/lib/libpctx/common/libpctx.h')
| -rw-r--r-- | usr/src/lib/libpctx/common/libpctx.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libpctx/common/libpctx.h b/usr/src/lib/libpctx/common/libpctx.h index 10d0fb7c7e..7cd9ffff91 100644 --- a/usr/src/lib/libpctx/common/libpctx.h +++ b/usr/src/lib/libpctx/common/libpctx.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _LIBPCTX_H #define _LIBPCTX_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <fcntl.h> #include <stdarg.h> @@ -67,6 +64,8 @@ typedef int pctx_init_lwpfn_t(pctx_t *, pid_t, id_t, void *); typedef int pctx_fini_lwpfn_t(pctx_t *, pid_t, id_t, void *); typedef int pctx_sysc_lwp_exitfn_t(pctx_t *, pid_t, id_t, void *); +extern void pctx_terminate(pctx_t *); + typedef enum { PCTX_NULL_EVENT = 0, PCTX_SYSC_EXEC_EVENT, |
