Re: (MS-)DOS PC on a microcontroller??



On Oct 23, 1:46 pm, Vladimir Vassilevsky <antispam_bo...@xxxxxxxxxxx>
wrote:

For example: in the MS DOS, it is perfectly valid to allocate a memory
block of zero bytes. In PTS-DOS and some others it results in an error.
It appears that surprisingly many programs are actually making the
requests of zero bytes, so here is a compatibility problem.

Let me guess... the 0 byte malloc code is in the runtime libraries for
Microsoft C, so that no kosher program will run properly on non-kosher
DOS clones.

.



Relevant Pages

  • Re: [Newbie] Simple, bare-bones PHP/MySQL database examples?
    ... > (long laundry list of requests) ... >>grasp these things, at least when starting from zero. ... >>scratch when I just have one particular application. ...
    (comp.lang.php)
  • Re: The behaviour of usbser.sys
    ... I suspect bRxCarrier ... CDC endpoint 0 zero requests correctly, ... port alone won't affect the bulk/interrupt behavior. ...
    (microsoft.public.development.device.drivers)
  • Re: When to check the return value of malloc
    ... for zero byte requests on the grounds they are probably an error. ... In my own experience, some algorithms on arrays ... gracefully degrade to the case of 0-length arrays. ... But the original example did check for zero. ...
    (comp.lang.c)
  • Re: When to check the return value of malloc
    ... for zero byte requests on the grounds they are probably an error. ... In my own experience, some algorithms on arrays ... gracefully degrade to the case of 0-length arrays. ... But the original example did check for zero. ...
    (comp.lang.c)