]> mj.ucw.cz Git - libucw.git/blobdiff - lib/proctitle.c
Try to merge recent changes in v3.9 to image branch...
[libucw.git] / lib / proctitle.c
index 111ab4b985400c79ae4fb62d07d5643c8431af63..e364fc4b015bcdd33f7c6c1449fb4eca7bed5b85 100644 (file)
@@ -1,7 +1,7 @@
 /*
 /*
- *     Sherlock Library -- Setting of Process Title
+ *     UCW Library -- Setting of Process Title
  *
  *
- *     (c) 2001 Martin Mares <mj@ucw.cz>
+ *     (c) 2001--2006 Martin Mares <mj@ucw.cz>
  *
  *     This software may be freely distributed and used according to the terms
  *     of the GNU Lesser General Public License.
  *
  *     This software may be freely distributed and used according to the terms
  *     of the GNU Lesser General Public License.
@@ -74,3 +74,9 @@ setproctitle(char *msg, ...)
     }
   va_end(args);
 }
     }
   va_end(args);
 }
+
+char *
+getproctitle(void)
+{
+  return (spt_start < spt_end) ? spt_start : NULL;
+}