FileHandler.c
gboolean fs_sync(GError *error)
{
	/* Setup the argument strings. */
	char cmd[5] = "sync";
	
	/* Set the arguments. */	
	char * args[2];
	args[0] = cmd;
	args[1] = '\0';

    /* Spawn a new process, to be run asynchronously. */
	return g_spawn_sync (NULL, args, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, NULL, &error);	
}
/******************************************************************************
 *
 *  Function:       fs_sync
 *  Description:    This function will call the 'sync' unix command.  This 
 *                  will cause the file system to sync pending writes.
 *  Outputs:       	TRUE on success, FALSE if error is set.
 *  Routines Called: g_spawn_sync
 *
 *****************************************************************************/
fs_sync
Description:    This function will call the 'sync' unix command.  This
will cause the file system to sync pending writes.
Outputs:            TRUE on success, FALSE if error is set.
fs_sync Description : This function will call the ' sync ' unix command . This will cause the file system to sync pending writes . Outputs : TRUE on success FALSE if error is set .
gboolean fs_sync(GError *error)
{
	char cmd[5] = "sync";
	char * args[2];
	args[0] = cmd;
	args[1] = '\0';
	return g_spawn_sync (NULL, args, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, NULL, &error);	
}
gboolean fs_sync ( GError * error ) { char cmd [ 5 ] = " " ; char * args [ 2 ] ; args [ 0 ] = cmd ; args [ 1 ] = ' \0 ' ; return g_spawn_sync ( NULL , args , NULL , G_SPAWN_SEARCH_PATH , NULL , NULL , NULL , NULL , NULL , & error ) ; }
Function:       fs_sync
  Description:    This function will call the 'sync' unix command.
Function : fs_sync Description : This function will call the ' sync ' unix command .
/* Setup the argument strings. */ /* Set the arguments. */ /* Spawn a new process, to be run asynchronously. */