/*====================================================================*
 *
 *   void scanwrite (SCAN * content, signed fd);
 *
 *   scan.h
 * 
 *   write the current token to the device associated with a file
 *   descriptor;
 *
 *.  Motley Tools by Charles Maier <cmaier@cmassoc.net>;
 *:  Published 2001-2006 by Charles Maier Associates Limited;
 *;  Released under the GNU General Public Licence v2 and later;
 *
 *--------------------------------------------------------------------*/

#ifndef SCANWRITE_SOURCE
#define SCANWRITE_SOURCE

#include <unistd.h>

#include "../scan/scan.h"

void scanwrite (SCAN * content, signed fd) 

{
	write (fd, content->first, content->final - content->first);
	return;
}

#endif