Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!dkchen From: dkchen@uicsrd.csrd.uiuc.edu Newsgroups: comp.sys.ibm.pc Subject: Yet Another Turbo C Question Message-ID: <42900071@uicsrd.csrd.uiuc.edu> Date: 22 Mar 90 10:39:24 GMT Lines: 15 Nf-ID: #N:uicsrd.csrd.uiuc.edu:42900071:000:502 Nf-From: uicsrd.csrd.uiuc.edu!dkchen Mar 21 23:53:00 1990 Hi, netters: Recently I tried to port my program from an unix machine to my 386/20 running turbo/c. To my surprise, turbo/c sometimes returned ds:0000 from the malloc routine. Consecutive malloc will not solve this problem. I assume ds:0000 should be reserved as 'nil'. And printing data pointed by pointer with value ds:0000 actually generate (null) as output. Am I missing anything (such as compiler switches, etc.)? The turbo/c I used is version 2.0. All comment are appreciated. Dean