add format_size

This commit is contained in:
Doug MacEachern 2004-09-17 19:00:57 +00:00
parent 41bed911d5
commit bca2d77746
1 changed files with 13 additions and 0 deletions

View File

@ -132,6 +132,19 @@ DESTROY(sigar)
CODE: CODE:
(void)sigar_close(sigar); (void)sigar_close(sigar);
char *
format_size(size)
UV size
PREINIT:
char buffer[56];
CODE:
RETVAL = sigar_format_size(size, buffer);
OUTPUT:
RETVAL
char * char *
sigar_fqdn(sigar) sigar_fqdn(sigar)
Sigar sigar Sigar sigar