The following routines are common in this and 'pingmon':

	fgetline.c
	standalone.c
