Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #62624

Re: Non-(sub)-standard C

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c
Subject Re: Non-(sub)-standard C
Date 2015-05-26 11:14 +1200
Message-ID <cshomcFm3esU1@mid.individual.net> (permalink)
References (10 earlier) <mjtej7$1vb$1@dont-email.me> <csfnpoF6ol5U1@mid.individual.net> <mju9ua$dle$1@dont-email.me> <csfshvF6r0eU1@mid.individual.net> <mk08ac$ln1$1@dont-email.me>

Show all headers | View raw


James Kuyper wrote:
> On 05/25/2015 02:08 AM, Ian Collins wrote:
>> James Kuyper wrote:
>>> On 05/25/2015 12:46 AM, Ian Collins wrote:
> ....
>>>> So you've never worked in a POSIX environment ...
>>>
>>> I work in a POSIX environment, and am still constrained, in much of my
>>> work, by a coding standard that was written in 1993 that requires me to
>>> write C94 (== C90 + 2 TCs) code. I don't remember ever running into any
>>> POSIX feature that I needed to use which required or depended upon the
>>> new features added in C99. Could you give an example?
>>
>> POSIX uses C99 and the types from <stdint.h> are frequently used.
>
> In the external interfaces? I can't remember ever seeing one whose
> interface involved a size-named type. Can you give me some examples?

The obvious examples are the network byte ordering functions.  They also 
pop up in other network related functions.

>>>> ... or worked on a Unix or
>>>> Linux kernel?
>>>
>>> That's not particularly odd - I think it's safe to assume that most
>>> programmers haven't done kernel programming, even among the ones who
>>> work on Unix-like systems.
>>
>> But they are likely to have at least seen some code...
>
> I've been working on unix-like systems on-and-off since 1979, and
> continuously since 1996, and I don't think I've ever had any need to
> look at kernel code. If I did have a need, I wasn't aware of that need,
> so I've never actually seen any.

In my case, it's either been modifying drivers or tracking bugs.  I'm 
surprised someone who has been working on Unix-like systems for so long 
hasn't been tempted to fix the occasional bug!

-- 
Ian Collins

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-20 08:56 -0700
  Re: Non-(sub)-standard C Noob <root@127.0.0.1> - 2015-05-20 18:02 +0200
  Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-20 09:20 -0700
  Re: Non-(sub)-standard C Les Cargill <lcargill99@comcast.com> - 2015-05-20 12:12 -0500
  Re: Non-(sub)-standard C Keith Thompson <kst-u@mib.org> - 2015-05-20 10:53 -0700
    Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-21 09:44 -0700
      Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-21 10:22 -0700
      Re: Non-(sub)-standard C Keith Thompson <kst-u@mib.org> - 2015-05-21 10:46 -0700
      Re: Non-(sub)-standard C Andrew Smallshaw <andrews@sdf.lonestar.org> - 2015-05-21 19:39 +0000
        Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-22 10:13 -0700
          Re: Non-(sub)-standard C Keith Thompson <kst-u@mib.org> - 2015-05-22 14:02 -0700
            Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-23 09:41 -0700
              Re: Non-(sub)-standard C Robert Wessel <robertwessel2@yahoo.com> - 2015-05-23 13:37 -0500
              Re: Non-(sub)-standard C Keith Thompson <kst-u@mib.org> - 2015-05-23 14:38 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-24 10:10 -0700
                Re: Non-(sub)-standard C wpihughes@gmail.com - 2015-05-24 12:53 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-24 13:05 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-25 09:01 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-25 10:19 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-26 11:01 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-26 11:40 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-27 10:28 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-27 11:13 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-28 12:20 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-28 12:26 -0700
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-29 10:12 -0700
                Re: Non-(sub)-standard C wpihughes@gmail.com - 2015-05-29 13:57 -0700
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-26 11:33 -0700
                Re: Non-(sub)-standard C Keith Thompson <kst-u@mib.org> - 2015-05-24 14:03 -0700
                Re: Non-(sub)-standard C Richard Heathfield <rjh@cpax.org.uk> - 2015-05-24 22:09 +0100
                Re: Non-(sub)-standard C Ian Collins <ian-news@hotmail.com> - 2015-05-25 16:46 +1200
                Re: Non-(sub)-standard C James Kuyper <jameskuyper@verizon.net> - 2015-05-25 00:55 -0400
                Re: Non-(sub)-standard C Ian Collins <ian-news@hotmail.com> - 2015-05-25 18:08 +1200
                Re: Non-(sub)-standard C Richard Heathfield <rjh@cpax.org.uk> - 2015-05-25 10:58 +0100
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-25 09:12 -0700
                Re: Non-(sub)-standard C James Kuyper <jameskuyper@verizon.net> - 2015-05-25 18:40 -0400
                Re: Non-(sub)-standard C Ian Collins <ian-news@hotmail.com> - 2015-05-26 11:14 +1200
                Re: Non-(sub)-standard C rick.c.hodgin@gmail.com - 2015-05-25 19:01 -0700
                Re: Non-(sub)-standard C James Kuyper <jameskuyper@verizon.net> - 2015-05-25 22:03 -0400
                Re: Non-(sub)-standard C Richard Heathfield <rjh@cpax.org.uk> - 2015-05-25 10:40 +0100
                Re: Non-(sub)-standard C Ian Collins <ian-news@hotmail.com> - 2015-05-25 22:50 +1200
                Re: Non-(sub)-standard C David Brown <david.brown@hesbynett.no> - 2015-05-25 12:42 +0200
                Re: Non-(sub)-standard C James Kuyper <jameskuyper@verizon.net> - 2015-05-25 19:00 -0400
                Re: Non-(sub)-standard C David Brown <david.brown@hesbynett.no> - 2015-05-26 08:43 +0200
                Re: Non-(sub)-standard C David Kleinecke <dkleinecke@gmail.com> - 2015-05-25 09:07 -0700
  Non-(sub)-standard C Chad <cdalten@gmail.com> - 2015-05-20 19:27 -0700

csiph-web