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


Groups > comp.lang.c > #102850

Re: Differnce order when you copy one to another

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Differnce order when you copy one to another
Date 2017-01-31 09:00 -0800
Organization None to speak of
Message-ID <lnvasv88rp.fsf@kst-u.example.com> (permalink)
References <c2be8350-79a5-449b-864b-9794fd9b3f34@googlegroups.com>

Show all headers | View raw


thunderbirdmember@gmail.com writes:
[...]
> #include<stdio.h> //printf
> #include<stdlib.h> //for exit(0); u_int32_t; malloc

u_int32_t is non-standard.  Use the standard uint32_t, defined in
<stdint.h>.

> #include<string.h> //bcopy

bcopy() is also non-standard.  Use memcpy() instead.

[...]

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

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


Thread

Differnce order when you copy one to another thunderbirdmember@gmail.com - 2017-01-30 18:08 -0800
  Re: Differnce order when you copy one to another Jerry Stuckle <jstucklex@attglobal.net> - 2017-01-30 21:16 -0500
  Re: Differnce order when you copy one to another Koivu <market@otherb.com> - 2017-01-31 02:24 +0000
  Re: Differnce order when you copy one to another Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2017-01-30 19:33 -0700
  Re: Differnce order when you copy one to another "James R. Kuyper" <jameskuyper@verizon.net> - 2017-01-30 21:35 -0500
  Re: Differnce order when you copy one to another Keith Thompson <kst-u@mib.org> - 2017-01-31 09:00 -0800

csiph-web