OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [libiberty/] [setproctitle.c] - Diff between revs 21 and 163

Show entire file | Details | Blame | View Log

Rev 21 Rev 163
Line 39... Line 39...
 
 
void
void
setproctitle (const char *name ATTRIBUTE_UNUSED, ...)
setproctitle (const char *name ATTRIBUTE_UNUSED, ...)
{
{
#ifdef PR_SET_NAME
#ifdef PR_SET_NAME
  /* On Linux this sets the top visible "comm", but not necessarily
  /* On GNU/Linux this sets the top visible "comm", but not
     the name visible in ps. */
     necessarily the name visible in ps. */
  prctl (PR_SET_NAME, name);
  prctl (PR_SET_NAME, name);
#endif
#endif
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.