home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!eco.twg.com!eco.twg.com!larry
- From: larry@eco.twg.com (Lawrence B. Henry III)
- Subject: Re: flushing in VAXC and DECC
- Message-ID: <1992Dec27.055031.24162@eco.twg.com>
- Lines: 82
- Sender: larry@vishnu.eco.twg.com (Lawrence B. Henry III)
- Nntp-Posting-Host: eco.twg.com
- Reply-To: larry@eco.twg.com
- Organization: The Wollongong Group (East Coast Operations)
- References: <1992Dec26.211521.4768@spcvxb.spc.edu> <6813@npri6.npri.com>
- Date: Sun, 27 Dec 92 05:50:31 GMT
- Lines: 82
-
-
- In article <6813@npri6.npri.com>, murphy@npri6.npri.com (David P.
- Murphy) writes:
- |>Path: eco.twg.com!uunet!psinntp!npri6!murphy
- |>From: murphy@npri6.npri.com (David P. Murphy)
- |>Newsgroups: comp.os.vms
- |>Subject: Re: flushing in VAXC and DECC
- |>Message-ID: <6813@npri6.npri.com>
- |>Date: 27 Dec 92 04:14:14 GMT
- |>References: <1992Dec26.211521.4768@spcvxb.spc.edu>
- |>Distribution: world
- |>Organization: NPRI, Alexandria VA
- |>Lines: 23
- |>
- |>
- |> >At the risk of adding some useful information to this discussion
- |>8-), I
- |> >think they were talking about the VAX C fsync() function. This is a
- |>worker
- |> >function used in the VAXCRTL to flush RMS buffers. It does exactly
- |>what you
- |> >want. Since it is used by the RTL, it is unlikely to change in
- |>future re-
- |> >leases of VAX C. On the other hand, it may not be present in DEC C
- |>(the up-
- |> >coming ANSI-compliant C compiler for VMS from DEC). DEC C may not
- |>even need
- |> >this as fflush() may work as you hope there. Ehud, want to check
- |>this on
- |> >your Alpha?
- |> >
- |> >terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.)
- |>
- |>wow, useful information! lemme add some: the fsync() function is
- |>indeed
- |>available under alpha, in the DECC$SHR image, and it even does
- |>something.
- |>unfortunately, i don't have time right now to test if it is still
- |>necessary.
- |>
- |>ok
- |>dpm
- |>--
- |>murphy@npri6.npri.com 602 Cameron St. Alexandria, VA 22314 (703)
- |>683-9090
- |>
- |> When every one is dead the Great Game is finished. Not
- |>before.
- |> --- Hurree Babu, "Kim"
- |>
-
- Not to be one to continue scrary precidents.. [ I for one read this group
- for the grin factor associated with the flames posted by marginally informed
- individuals posing as gurus.. directed towards people they feel are unworthy..
- ;-) its almost like watching the UN in action..] but I figure in the spirit
- of Christmas and all.. if we are really going to post "real", "live"
- information...I can add that it is even documented in the online help on
- AXP machines.. (see below)
-
-
- CC
-
- Run-time_functions
-
- fsync
-
- Flushes data all the way to the disk.
-
- Syntax:
-
- #include <stdio.h>
-
- int fsync(int file_descriptor);
-
-
- CC Run-time_functions Subtopic?
-
-
- -Larry.
-
- PS. Don't take this serious unless you are one of those people out there posing
- as a guru.. :-)
-