comparison srogue/daemon.c @ 120:d6b7c3fb37ea

srogue: add and use more md_* portable functions. Privileges and memory usage checks are now more portable.
author John "Elwin" Edwards
date Fri, 02 May 2014 15:06:23 -0700
parents f2951c4e28d9
children 94a0d9dd5ce1
comparison
equal deleted inserted replaced
119:458df24e973d 120:d6b7c3fb37ea
171 * Show wizard number of demaons and memory blocks used 171 * Show wizard number of demaons and memory blocks used
172 */ 172 */
173 activity() 173 activity()
174 { 174 {
175 msg("Daemons = %d : Memory Items = %d : Memory Used = %d", 175 msg("Daemons = %d : Memory Items = %d : Memory Used = %d",
176 demoncnt,total,sbrk(0)); 176 demoncnt,total,md_memused());
177 } 177 }