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

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Differnce order when you copy one to another
Date Tue, 31 Jan 2017 09:00:10 -0800
Organization None to speak of
Lines 19
Message-ID <lnvasv88rp.fsf@kst-u.example.com> (permalink)
References <c2be8350-79a5-449b-864b-9794fd9b3f34@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="cca5ec70fa32bd72c3a8e20925c507dd"; logging-data="29466"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lQw7vvtFYhyArWuSquQJ9"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:Xr3FyOAgOoP6Fd5kVvmE9ap7KTM= sha1:ExMw395b7YcKdND9huMeQ1LCUNw=
Xref csiph.com comp.lang.c:102850

Show key headers only | 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