From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Automated conversion to C++?
Date: Mon, 18 Feb 2008 06:43:05 -0800 (PST)
Date: 2008-02-18T06:43:05-08:00 [thread overview]
Message-ID: <bc0f9b78-814e-4599-86cf-6ddd461f1791@e60g2000hsh.googlegroups.com> (raw)
In-Reply-To: ikZVDle$P9K8@eisner.encompasserve.org
On 17 Lut, 20:50, Kilgal...@SpamCop.net (Larry Kilgallen) wrote:
> I am not an expert, but just as a first guess I don't see a way that
> Posix could implement "end of line" and "end of page" markers without
> using an inline reserved character.
What is wrong with ASCII 10 and 12 codes (decimal)?
I don't see in what way POSIX can prevent you from implementing this
area of Ada library.
> I have my suspicious that due to its Unix/C roots, some implementations
> of Posix might have trouble writing a file with lines that contain one or
> more embedded null.
This statement is completely nebulous.
The POSIX standard defines the write function (man 2 write) that is a
basic function for doing output operations. C standard library
(stdio.h) is implemented on top of this, and also provides interface
for binary output of arbitrary data.
I don't see in what way POSIX can prevent you from correctly
implementing the Ada library.
> Unix and C have a habit of acting like no string
> would have a null in the middle.
Unix does not take care what you write to the file descriptor; C
allows binary operations without any problem and has nothing to do
when it comes to implementing Ada anyway.
--
Maciej Sobczak * www.msobczak.com * www.inspirel.com
next prev parent reply other threads:[~2008-02-18 14:43 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 13:33 Automated conversion to C++? Jacob Sparre Andersen
2008-02-15 14:11 ` Robert A Duff
2008-02-15 19:12 ` Jacob Sparre Andersen
2008-02-16 0:44 ` Robert A Duff
2008-02-17 22:31 ` Phaedrus
2008-02-18 0:59 ` Larry Kilgallen
2008-02-18 7:14 ` Martin Krischik
2008-02-19 1:04 ` Phaedrus
2008-02-19 17:01 ` Martin Krischik
2008-02-18 7:10 ` Martin Krischik
2008-02-18 7:08 ` Martin Krischik
2008-04-03 9:48 ` vindhya
2008-04-03 13:27 ` Robert A Duff
2008-02-15 18:24 ` Jeffrey R. Carter
2008-02-15 20:35 ` Maciej Sobczak
2008-02-16 4:52 ` Jeffrey R. Carter
2008-02-16 7:40 ` Pascal Obry
2008-02-16 12:12 ` Peter C. Chapin
2008-02-16 13:41 ` Larry Kilgallen
2008-02-16 16:35 ` Maciej Sobczak
2008-02-16 17:12 ` Jeffrey R. Carter
2008-02-16 21:23 ` Maciej Sobczak
2008-02-16 22:11 ` Jeffrey R. Carter
2008-02-19 16:46 ` Jacob Sparre Andersen
2008-02-17 12:41 ` Larry Kilgallen
2008-02-17 18:57 ` Peter C. Chapin
2008-02-17 19:50 ` Larry Kilgallen
2008-02-18 14:43 ` Maciej Sobczak [this message]
2008-02-18 19:17 ` Larry Kilgallen
2008-02-18 19:44 ` Peter C. Chapin
2008-02-19 0:05 ` John W. Kennedy
2008-02-19 7:29 ` Jean-Pierre Rosen
2008-02-18 20:01 ` Jeffrey R. Carter
2008-02-18 23:33 ` Randy Brukardt
2008-02-20 1:53 ` Subject: POSIX , Ada, Line Feeds, etc (was Automated conversion to C++) KarlNyberg
2008-02-21 7:34 ` Subject: POSIX , Ada, Line Feeds, etc Jacob Sparre Andersen
2008-02-16 17:09 ` Automated conversion to C++? Jeffrey R. Carter
2008-02-16 16:31 ` Maciej Sobczak
2008-02-16 17:20 ` Jeffrey R. Carter
2008-02-16 13:21 ` Jacob Sparre Andersen
2008-02-16 17:15 ` Jeffrey R. Carter
2008-02-16 13:43 ` Dr. Adrian Wrigley
2008-02-16 16:42 ` Jacob Sparre Andersen
2008-02-16 16:58 ` Martin
2008-02-21 7:14 ` Jacob Sparre Andersen
2008-02-16 21:43 ` Maciej Sobczak
2008-02-16 22:04 ` Jeffrey R. Carter
2008-02-16 18:27 ` tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox