Case Study: Function Synopsis

<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;pwd.h>
#include &lt;sys/types.h>
</funcsynopsisinfo>

<funcprototype>
  <funcdef>struct passwd *<function>getpwnam</function></funcdef>
  <paramdef>const char * <parameter>name</parameter></paramdef>
</funcprototype>

<funcprototype>
  <funcdef>struct passwd *<function>getpwuid</function></funcdef>
  <paramdef>uid_t <parameter>uid</parameter></paramdef>
</funcprototype>

</funcsynopsis>