Ahaggar: add the output_fncall_results() function to handle output

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: rename tmp_location to tmp_buffer

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: define TMPBUF_SIZE and use it as lenght of temporary buffer

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>