diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-06-02 22:23:45 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-06-02 22:23:45 +0000 |
commit | 3728e4c34e119370290977bd3c4dfd96524515cb (patch) | |
tree | 6004c835d7b8eeff2de6daef7d29a647af34a48f /sysdeps/sun4/procstate.c | |
parent | e71eb0e75b0a3d0a6f0d76526758ba5023b213f4 (diff) | |
download | libgtop-3728e4c34e119370290977bd3c4dfd96524515cb.tar.gz |
renamed all functions implementing features to '__p' (since they need to
* sysdeps/sun4/*.c: renamed all functions implementing
features to '__p' (since they need to be SGID kmem on SunOS).
Diffstat (limited to 'sysdeps/sun4/procstate.c')
-rw-r--r-- | sysdeps/sun4/procstate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/sun4/procstate.c b/sysdeps/sun4/procstate.c index b8ad5cec..a0ffb312 100644 --- a/sysdeps/sun4/procstate.c +++ b/sysdeps/sun4/procstate.c @@ -25,8 +25,10 @@ /* Provides detailed information about a process. */ void -glibtop_get_proc_state__r (glibtop *server, glibtop_proc_state *buf, +glibtop_get_proc_state__p (glibtop *server, glibtop_proc_state *buf, pid_t pid) { + glibtop_init__r (&server, 0, 0); + memset (buf, 0, sizeof (glibtop_proc_state)); } |