Print this page
3946 ::gcore
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
@@ -23,10 +23,13 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright (c) 2013 by Delphix. All rights reserved.
+ */
#include "libproc.h"
/*
* usr/src/lib/libproc
*/
@@ -44,11 +47,11 @@
int Pasfd(struct ps_prochandle *Pr);
int Pctlfd(struct ps_prochandle *Pr);
const psinfo_t *Ppsinfo(struct ps_prochandle *Pr);
const pstatus_t *Pstatus(struct ps_prochandle *Pr);
int Pcred(struct ps_prochandle *Pr, prcred_t *pcrp, int ngroups);
-ssize_t Ppriv(struct ps_prochandle *Pr, prpriv_t *pprivp, size_t);
+int Ppriv(struct ps_prochandle *Pr, prpriv_t **pprivp);
void Psync(struct ps_prochandle *Pr);
int Pcreate_agent(struct ps_prochandle *Pr);
void Pdestroy_agent(struct ps_prochandle *Pr);
int Preopen(struct ps_prochandle *Pr);
void Prelease(struct ps_prochandle *Pr, int flags);