diff options
author | ngie <ngie@FreeBSD.org> | 2017-09-08 04:45:18 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-09-08 04:45:18 +0000 |
commit | 4d8f2a1035d88691f571fbffe714696cccc59eb2 (patch) | |
tree | ef4233cace8df3d7a304c10a7555c8b4d40331ee /lib | |
parent | 14e21938a71fc900b6845b92ca3d5458dcb9e932 (diff) | |
download | FreeBSD-src-4d8f2a1035d88691f571fbffe714696cccc59eb2.zip FreeBSD-src-4d8f2a1035d88691f571fbffe714696cccc59eb2.tar.gz |
MFC r321704,r321705,r321706:
r321704:
Add sys/socket.h to SYNOPSIS for libprocstat(3)
sys/socket.h is required for procstat_get_socket_info(3), added in
r221807.
PR: 217884
r321705:
libprocstat(3): fix reference (typo) to procstat_freeenvv in description for
procstat_getargv(3)
PR: 217884
r321706:
libprocstat(3): fix arguments list for procstat_getargv(3) and procstat_getenvv(3)
Neither libcall takes a fourth argument (`char *errbuf`).
PR: 217884
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libprocstat/libprocstat.3 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libprocstat/libprocstat.3 b/lib/libprocstat/libprocstat.3 index e8be41c..3a9e4f1 100644 --- a/lib/libprocstat/libprocstat.3 +++ b/lib/libprocstat/libprocstat.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 18, 2015 +.Dd July 29, 2017 .Dt LIBPROCSTAT 3 .Os .Sh NAME @@ -64,6 +64,7 @@ .Sh SYNOPSIS .In sys/param.h .In sys/queue.h +.In sys/socket.h .In libprocstat.h .Ft void .Fn procstat_close "struct procstat *procstat" @@ -149,7 +150,6 @@ .Fa "struct procstat *procstat" .Fa "const struct kinfo_proc *kp" .Fa "size_t nchr" -.Fa "char *errbuf" .Fc .Ft "Elf_Auxinfo *" .Fo procstat_getauxv @@ -162,7 +162,6 @@ .Fa "struct procstat *procstat" .Fa "const struct kinfo_proc *kp" .Fa "size_t nchr" -.Fa "char *errbuf" .Fc .Ft "struct filestat_list *" .Fo procstat_getfiles @@ -352,7 +351,7 @@ function is similar to .Fn procstat_getargv but returns the vector of environment strings. The caller may free the allocated memory with a subsequent -.Fn procstat_freeenv +.Fn procstat_freeenvv function call. .Pp The |