Dear comp.lang.c,
Because I believe the standard thumpers have trolled us quite well
for way too long, I'm asking quite casually, if this is a conformant implementation of printf()?
int printf( const char *format, ... ) {
errno = ENOTTY ;
return -1 ;
}
Conformance isn't a very useful concept except in the negative: a nonconformance can cause a problem to a user, requiring a workaround.
It's something that can usually be reported as a bug. But assurances
of conformance have limited value.
Kaz Kylheku wrote:
Conformance isn't a very useful concept except in the negative: aConformance is not of much use, at least in comp.lang.c. Even if the
nonconformance can cause a problem to a user, requiring a workaround.
It's something that can usually be reported as a bug. But assurances
of conformance have limited value.
'code' conforms, there will be hundreds of naysayers based on a
religious morality system. The 'code' will only be correct if you have dutifully hacked each of the naysayers companies to recover their
Protocols and Standards for goodness and wholesomeness. For example, I
heard there were some people who were doing gotos and some other guys setting negative pointers. Your code is only correct so far as each and every one of your competitors has no rule, including ones they make up
on the spot, that contradict what your program is 'trying' to do.
Basically, try to code and God says no.
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
Dear comp.lang.c,
Because I believe the standard thumpers have trolled us quite well
for way too long, I'm asking quite casually, if this is a conformant implementation of printf()?
ÿ int printf( const char *format, ... ) {
ÿÿÿ errno = ENOTTY ;
ÿÿÿ return -1 ;
ÿ }
Happy ENOTTY!
Lane W pisze:
Kaz Kylheku wrote:
Conformance isn't a very useful concept except in the negative: aConformance is not of much use, at least in comp.lang.c. Even if the
nonconformance can cause a problem to a user, requiring a workaround.
It's something that can usually be reported as a bug. But assurances
of conformance have limited value.
'code' conforms, there will be hundreds of naysayers based on a
religious morality system. The 'code' will only be correct if you have
dutifully hacked each of the naysayers companies to recover their
Protocols and Standards for goodness and wholesomeness. For example, I
heard there were some people who were doing gotos and some other guys
setting negative pointers. Your code is only correct so far as each
and every one of your competitors has no rule, including ones they
make up on the spot, that contradict what your program is 'trying' to do.
Basically, try to code and God says no.
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
which god? *Crom* always says *Yes* ;c
(well maybe i simplify, Crom i see as a god of fighting in
finding language solutions, but im not sure if i can say he always says yes.. i could say hovever that hee sees when you (me) doin good
and see when im doin bad.. i just wanted to mention him
(fir)
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
Lane W <cactus_DAC@yahoo.com> writes:
[...]
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
Bullshit.
I'll ask you one last time to stop mentioning my name in your posts.
I expect you'll continue to be an arrogant jerk and ignore my
request.
*PLONK*
fir wrote:
Lane W pisze:
Kaz Kylheku wrote:
Conformance isn't a very useful concept except in the negative: aConformance is not of much use, at least in comp.lang.c. Even if the
nonconformance can cause a problem to a user, requiring a workaround.
It's something that can usually be reported as a bug. But assurances
of conformance have limited value.
'code' conforms, there will be hundreds of naysayers based on a
religious morality system. The 'code' will only be correct if you
have dutifully hacked each of the naysayers companies to recover
their Protocols and Standards for goodness and wholesomeness. For
example, I heard there were some people who were doing gotos and some
other guys setting negative pointers. Your code is only correct so
far as each and every one of your competitors has no rule, including
ones they make up on the spot, that contradict what your program is
'trying' to do.
Basically, try to code and God says no.
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
which god? *Crom* always says *Yes* ;c
(well maybe i simplify, Crom i see as a god of fighting in
finding language solutions, but im not sure if i can say he always
says yes.. i could say hovever that hee sees when you (me) doin good
and see when im doin bad.. i just wanted to mention him
(fir)
I can see you are trying to get under Janis' skin. He hates Crom because Crom is also the god of barbarians, yet Janis typically cosplays a
Valkyrie or female Knight, both of whom worship entirely different gods/goddesses.
Lane W pisze:
fir wrote:
Lane W pisze:
Kaz Kylheku wrote:
Conformance isn't a very useful concept except in the negative: aConformance is not of much use, at least in comp.lang.c. Even if the
nonconformance can cause a problem to a user, requiring a workaround. >>>>> It's something that can usually be reported as a bug. But assurances >>>>> of conformance have limited value.
'code' conforms, there will be hundreds of naysayers based on a
religious morality system. The 'code' will only be correct if you
have dutifully hacked each of the naysayers companies to recover
their Protocols and Standards for goodness and wholesomeness. For
example, I heard there were some people who were doing gotos and
some other guys setting negative pointers. Your code is only correct
so far as each and every one of your competitors has no rule,
including ones they make up on the spot, that contradict what your
program is 'trying' to do.
Basically, try to code and God says no.
If you write something such as
const int CAT_MEDIUM = 12,
the guy Keith will tell you that the cat is SMALL, and 6.
If on the other hand, you had written,
const int CAT_SMALL = 6,
the guy Keith will tell you that the cat is LARGE, and 18.
Try to code, and God says no.
which god? *Crom* always says *Yes* ;c
(well maybe i simplify, Crom i see as a god of fighting in
finding language solutions, but im not sure if i can say he always
says yes.. i could say hovever that hee sees when you (me) doin good
and see when im doin bad.. i just wanted to mention him
(fir)
I can see you are trying to get under Janis' skin. He hates Crom
because Crom is also the god of barbarians, yet Janis typically
cosplays a Valkyrie or female Knight, both of whom worship entirely
different gods/goddesses.
back then (even neing 22 years old) i was identyfing myselv as a
barbarian (becouse in adom i liked to play troll barbarian)
its related to C as s may be find 'archaic' 'ancient' or even 'pre civilisation' or 'old civilisation' - so it leads to barbarians
stright (i even wanted to take Slaine as a symbol of my new c
language (presently considered as B of new b)
when i get almost 50 (in next january 24'th) maybe i have additional
reason to think so becouse not only c is ancient but parts of my life is also ancient (and im bit seing this this way)
so 'Crom help me!' is maybe the more fitting/ quite appropriate
barbarians being like not quite present in modern time, seing only
heavens and rock and sand maybe sea and maybe wind remembering them
their old realm..
(got doubts as to last world in this post, as im not sure what barbarian
is looking thru the wind and sky into? his old world maybe)
Crom is important entity so to say (though vague) i also sometimes
think of Cthulhu, maybe yet more vague)
not sad the places like c.l.c are not much alive in a world today,
this old internet tehnology replaced by nonsense trash like fb/instagram/twitter.. i still here feel this place like entry or a
tample of Crom
(in some way) and this is much unusual in those times
(not much and you would need to be indiana jones to explore such ancient places)
On 10/09/2026 22:14, Lane W wrote:
<snip paranoid semi-religious drivel>
I don't know what your problem is, but you are not going to find an
answer in comp.lang.c.ÿ Please remember that the people posting here
are, at least for the most part, /real/ people.ÿ I hope you would not
talk to others in person in the way you have been doing in this group.
Imagine that we are all old neighbours, chatting in the street.ÿ You recently moved in to the neighbourhood.ÿ You have cut a bush in your
garden in a weird shape, and asked what we think of it.ÿ Some people
have given their honest, purely technical and impersonal opinions and suggestions for improvement - which you are entirely free to follow or reject.ÿ Would you react as you have done in this group?
On 10/09/2026 22:14, Lane W wrote:
<snip paranoid semi-religious drivel>
I don't know what your problem is, but you are not going to find an
answer in comp.lang.c.ÿ Please remember that the people posting here
are, at least for the most part, /real/ people.ÿ I hope you would not
talk to others in person in the way you have been doing in this group.
Imagine that we are all old neighbours, chatting in the street.ÿ You recently moved in to the neighbourhood.ÿ You have cut a bush in your
garden in a weird shape, and asked what we think of it.ÿ Some people
have given their honest, purely technical and impersonal opinions and suggestions for improvement - which you are entirely free to follow or reject.ÿ Would you react as you have done in this group?
On 2026-08-14,
Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote:
Dear comp.lang.c,
Because I believe the standard thumpers have trolled us quite well
for way too long, I'm asking quite casually, if this is a conformant
implementation of printf()?
int printf( const char *format, ... ) {
errno = ENOTTY ;
return -1 ;
}
The proper question is, could an implementation be conforming if that
were its implementation of printf?
Right of the bat, the implementation could be a conforming freestanding implementation, due to freestanding implementations not being required
to implement stdio.
Could it be a conforming hosted implementation? I'm afraid the answer
is yes, due to the way conformance is defined.
| Sysop: | Tetrazocine |
|---|---|
| Location: | Melbourne, VIC, Australia |
| Users: | 8 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 14:39:28 |
| Calls: | 220 |
| Files: | 21,513 |
| Messages: | 83,058 |