Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Kaz Kylheku <kaz@kylheku.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: cpy functions |
| Date | 2014-04-28 23:19 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <20140428155656.233@kylheku.com> (permalink) |
| References | <ljmdfj$su4$1@dont-email.me> <lneh0hp2xb.fsf@nuthaus.mib.org> <ljmi39$uj0$1@dont-email.me> <bvmtl95nipkbad47hu26jfhil7dkkaj8eg@4ax.com> |
On 2014-04-28, Barry Schwarz <schwarzb@dqel.com> wrote: > On Mon, 28 Apr 2014 17:44:14 -0400, "Bill Cunningham" ><nospam@nspam.invalid> wrote: > ><snip quoted text from a different author> > >> With memcpy, I think it would be the job of the kernel to make sure the >>memory areas don't overlap. That's what memory management services are for. > > Where in the description of memcpy that you have not read do you see > any reference to a kernel? That's just another coded Cunniham sentence which says "I don't actually have a spectacular learning disability". It's silly, but in a way that can only be intelligently contrived, with just the right dash of plausibility. You just have to pay attention and "read between the lines". > Which kernel service do you think memcpy > needs to invoke? Why do you think memcpy has anything to do with > memory management? It's not as crazy as you might think. Typically when we have an API wich manages, say, "widgets", it lets us create widgets, destroy them, copy one to another and so on. It's all part of the "management of widgets". Okay, so, copying of memory is part of the management of memory; memcpy is an API operation on memory! Get it? malloc creates it, memcpy copies it, etc. The main point of importance here is that a genuine moron wouldn't make this up. Which kernel service might memcpy invoke? One which gives the program the benefit of, say, a DMA-capable bus master to do the copy, if that is advantageous for the given parameters.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 16:25 -0400
Re: cpy functions John Gordon <gordon@panix.com> - 2014-04-28 20:42 +0000
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 16:54 -0400
Re: cpy functions Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-04-28 22:22 +0100
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:26 -0400
Re: cpy functions Richard <rgrdev_@gmail.com> - 2014-04-29 00:19 +0200
Re: cpy functions Andrew Smallshaw <andrews@sdf.lonestar.org> - 2014-04-28 20:44 +0000
Re: cpy functions Keith Thompson <kst-u@mib.org> - 2014-04-28 14:44 -0700
Re: cpy functions Geoff <geoff@invalid.invalid> - 2014-04-28 13:55 -0700
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:07 -0400
Re: cpy functions Geoff <geoff@invalid.invalid> - 2014-04-28 14:13 -0700
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:22 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:32 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 18:17 -0400
Re: cpy functions jacob navia <jacob@spamsink.net> - 2014-04-29 00:43 +0200
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:31 -0400
Re: cpy functions Ian Collins <ian-news@hotmail.com> - 2014-04-29 11:33 +1200
Re: cpy functions Richard <rgrdev_@gmail.com> - 2014-04-29 02:27 +0200
Re: cpy functions Barry Schwarz <schwarzb@dqel.com> - 2014-04-28 15:53 -0700
Re: cpy functions "Bill Cunningham" <nosapm@nspam.invalid> - 2014-04-29 17:27 -0400
Re: cpy functions Kaz Kylheku <kaz@kylheku.com> - 2014-04-28 21:55 +0000
Re: cpy functions jacob navia <jacob@spamsink.net> - 2014-04-29 00:40 +0200
Re: cpy functions Richard <rgrdev_@gmail.com> - 2014-04-29 00:20 +0200
Re: cpy functions Ike Naar <ike@iceland.freeshell.org> - 2014-04-28 21:48 +0000
Re: cpy functions Richard <rgrdev_@gmail.com> - 2014-04-29 00:20 +0200
Re: cpy functions Barry Schwarz <schwarzb@dqel.com> - 2014-04-28 15:49 -0700
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:33 -0400
Re: cpy functions Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-04-28 22:13 +0100
Re: cpy functions Keith Thompson <kst-u@mib.org> - 2014-04-28 14:19 -0700
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:34 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 17:44 -0400
Re: cpy functions Barry Schwarz <schwarzb@dqel.com> - 2014-04-28 15:55 -0700
Re: cpy functions Kaz Kylheku <kaz@kylheku.com> - 2014-04-28 23:19 +0000
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:24 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:26 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 20:07 -0400
Re: cpy functions "Bill Cunningham" <nosapm@nspam.invalid> - 2014-04-29 17:30 -0400
Re: cpy functions Barry Schwarz <schwarzb@dqel.com> - 2014-04-28 15:43 -0700
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:17 -0400
Re: cpy functions "Bill Cunningham" <nospam@nspam.invalid> - 2014-04-28 19:35 -0400
Re: cpy functions Michael Angelo Ravera <maravera@prodigy.net> - 2014-04-29 03:07 -0700
Re: cpy functions Richard <rgrdev_@gmail.com> - 2014-04-29 12:59 +0200
Re: cpy functions Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-04-29 13:58 +0100
csiph-web