X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fmanager.c;h=0b2fdfe1cf2ab53fc1fdaaf4ce3decf23b14f0ad;hb=18021ef879fa68dbec546155311d6676653cf7c3;hp=2d16416aef49ded08f92e457a7d8ea153ed7bf9f;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/output/manager.c b/src/output/manager.c index 2d16416a..0b2fdfe1 100644 --- a/src/output/manager.c +++ b/src/output/manager.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,6 +47,16 @@ som_eject_page (void) outp_eject_page (d); } +/* Flushes output on all active devices. */ +void +som_flush (void) +{ + struct outp_driver *d; + + for (d = outp_drivers (NULL); d; d = outp_drivers (d)) + outp_flush (d); +} + /* Skip down a single line on all active devices. */ void som_blank_line (void)