ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/syscalls.c
(Generate patch)

Comparing ray/src/meta/syscalls.c (file contents):
Revision 1.3 by schorsch, Mon Jul 14 20:02:29 2003 UTC vs.
Revision 1.4 by schorsch, Fri Aug 1 14:14:24 2003 UTC

# Line 37 | Line 37 | char  *mode;
37  
38   {
39      char  *mdir, stemp[MAXFNAME];
40 #if  UNIX || MAC || _WIN32
40      char  *getenv();
41  
42      if ((mdir = getenv("MDIR")) == NULL)
44 #endif
43          mdir = MDIR;
44      sprintf(stemp, "%s%s", mdir, fname);
45  
# Line 49 | Line 47 | char  *mode;
47   }
48  
49  
52
53 #ifdef  CPM
54 getpid()                        /* for CP/M, get user number */
55
56 {
57
58 return(getusr());
59 }
60 #endif
61
62
63
64 #ifdef  MAC
65 getpid()                        /* dummy value for MacIntosh */
66
67 {
68
69 return(0);
70 }
71 #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines