chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put a frame around user management window (and the other popups) and
[disorder]
/
lib
/
wstat.c
diff --git
a/lib/wstat.c
b/lib/wstat.c
index bd387ffc78810dea9ca230ba84e2821a39782ae9..67de318acdc3926a325bb92d27d438ba1ff9e60f 100644
(file)
--- a/
lib/wstat.c
+++ b/
lib/wstat.c
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2004 Richard Kettlewell
+ * Copyright (C) 2004
, 2007, 2008
Richard Kettlewell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-17,6
+17,9
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
* 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 <config.h>
@@
-30,6
+33,10
@@
#include "wstat.h"
#include "printf.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;
const char *wstat(int w) {
int n;
char *r;
@@
-55,4
+62,3
@@
c-basic-offset:2
comment-column:40
End:
*/
comment-column:40
End:
*/
-/* arch-tag:266c61bd39bdfb327908ad3dd95412ae */