backtrace.3: Fix prototype of backtrace_symbols_fd_fmt().

While here, fix a typo

Submitted by:	Sascha Wildner <saw@online.de>
Obtained from:	DragonflyBSD
This commit is contained in:
bapt 2015-12-22 22:40:42 +00:00
parent 1eec086bcf
commit 1f9781367a

View File

@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 3, 2015
.Dd December 12, 2015
.Dt BACKTRACE 3
.Os
.Sh NAME
@ -47,7 +47,7 @@
.Ft "char **"
.Fn backtrace_symbols_fmt "void * const *addrlist" "size_t len" "const char *fmt"
.Ft int
.Fn backtrace_symbols_fd_fmt "void * const *addrlist" "size_t len" "const char *fmt" "int fd"
.Fn backtrace_symbols_fd_fmt "void * const *addrlist" "size_t len" "int fd" "const char *fmt"
.Sh DESCRIPTION
The
.Fn backtrace
@ -85,7 +85,7 @@ the /proc filesystem is available to determine the executable path.
The difference of the symbol address and the address element printed
using 0x%tx.
.It Dv D
The difference of the symbol addresss and the address element printed using
The difference of the symbol address and the address element printed using
+0x%tx if non-zero, or nothing if zero.
.It Dv f
The filename of the symbol as determined by