Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 19:59:32 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        "Sanjeev Kumar.S" <sanjeevfiles@yahoo.com>
Cc:        hackers@freebsd.org
Subject:   Re: synchronous freebsd print
Message-ID:  <20080227085932.GV83599@server.vk2pj.dyndns.org>
In-Reply-To: <284719.71279.qm@web57708.mail.re3.yahoo.com>
References:  <1204051337.47c45d89ea6eb@imp.free.fr> <284719.71279.qm@web57708.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--fmEUq8M7S0s+Fl0V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 27, 2008 at 12:08:28AM -0800, Sanjeev Kumar.S wrote:
>     I have a quick question, and I believe this will=20
>    be a common requirement.

This is a standard C question.
=20
>    I do a print of some data and then immediately=20
>    in a next statement there is a crash.
=2E..
>    Is there anyway to get the complete print
>    before executing the next instruction.

Look at fflush(3)

--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

--fmEUq8M7S0s+Fl0V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHxSZ0/opHv/APuIcRAqpFAJ4mPDFCzNTjUvbaIsuEV1beVE53HQCgwjlc
3vDPrp9fvtc+jIXNfp/1oPs=
=8kK9
-----END PGP SIGNATURE-----

--fmEUq8M7S0s+Fl0V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080227085932.GV83599>