-.TH STRDUP 3 ""
-.UC 7
-.SH NAME
-strdup \- save a copy of a string
-.SH SYNOPSIS
-.nf
-.ft B
-#include <string.h>
-
-char *
-strdup(const char *str);
-.ft R
-.fi
-.SH DESCRIPTION
-.I Strdup
-allocates sufficient memory for a copy of the string
-.IR str ,
+.Dd
+.Dt STRDUP 3
+.Os
+.Sh NAME
+.Nm strdup
+.Nd save a copy of a string
+.Sh SYNOPSIS
+.Fd #include <string.h>
+.Ft char *
+.Fn strdup "const char *str"
+.Sh DESCRIPTION
+The
+.Fn strdup
+function
+allocates sufficient memory for a copy
+of the string
+.Fa str ,