Sys-Proctitle
view release on metacpan or search on metacpan
Proctitle.xs view on Meta::CPAN
RETVAL=newSVpv( buf, len );
}
free( buf );
}
OUTPUT:
RETVAL
void
setproctitle(...)
PROTOTYPE: @
PPCODE:
if( items > 0 ) {
char *title, *buf, *cur;
STRLEN len;
int i, max;
if( items==1 ) {
title=(char *)SvPV(ST(0), len);
setproctitle(title, len);
} else {
buf=malloc( max=setproctitle_max() );
( run in 1.084 second using v1.01-cache-2.11-cpan-5511b514fd6 )