Richard Heathfield said:
Walter Roberson said:
I am guilty of jumping to a conclusion. The Standard does indeed use the
term 'segment' in the docs for strcspn and strspn, to refer to the first
part of a string.
Ah ... actually, you were right the first time. The term as the OP intended
is not really used.
It depends on whether you interpret "term" to be (the literal word) or (a
particular meaning of a word that can have several meanings). In this case
I'd support the second definition.
The OP intended "segment" as used in linker documentation or machine
architecture, things like ".data", ".bss", etc.
"segment" as cited above means "contiguous portion" or "subset" ... somewhat
different than the linker meaning.
If the specification includes an appendix on human parasitic infections and
they mention "segment" of a tapeworm, would it be fair to say that a
"segment" when talking about a tapeworm is different than a "segment" when
talking about a linker map? ... I kind of think they are different.