* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
+/** @file lib/wstat.c
+ * @brief Convert wait status to text
+ */
#include <config.h>
#include "wstat.h"
#include "printf.h"
+/** @brief Convert exit status to text
+ * @param w Exit status (e.g. from waitpid())
+ * @return Allocated string containing description of status
+ */
const char *wstat(int w) {
int n;
char *r;
comment-column:40
End:
*/
-/* arch-tag:266c61bd39bdfb327908ad3dd95412ae */