ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rtio.h
(Generate patch)

Comparing ray/src/common/rtio.h (file contents):
Revision 3.1 by greg, Fri Jun 27 06:53:21 2003 UTC vs.
Revision 3.6 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 5 | Line 5
5  
6   #ifndef _RAD_RTIO_H_
7   #define _RAD_RTIO_H_
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
8  
9   #include  <stdio.h>
10   #include  <sys/types.h>
11   #include  <fcntl.h>
12   #include  <string.h>
13  
14 < /* XXX include paths.h instead */
15 < #ifndef  F_OK                   /* mode bits for access(2) call */
16 < #define  R_OK           4               /* readable */
17 < #define  W_OK           2               /* writable */
21 < #define  X_OK           1               /* executable */
22 < #define  F_OK           0               /* exists */
14 > #include  "paths.h"
15 >
16 > #ifdef __cplusplus
17 > extern "C" {
18   #endif
24                                        /* string.h equivalents */
25 #ifndef BSD
26 #define  index                  strchr
27 #define  rindex                 strrchr
28 #endif
29                        /* <unistd.h> is missing on some systems */
30 extern off_t    lseek(int, off_t, int);
19  
20                                          /* defined in badarg.c */
21   extern int      badarg(int ac, char **av, char *fl);
# Line 44 | Line 32 | extern int     fgetval(FILE *fp, int ty, char *vp);
32   extern char     *fgetword(char *s, int n, FILE *fp);
33                                          /* defined in fputword.c */
34   extern void     fputword(char *s, FILE *fp);
47                                        /* defined in fixargv0.c */
48 /*extern char   *fixargv0(char *av0);*/ /* XXX include paths.h instead */
35                                          /* defined in fropen.c */
36   extern FILE     *frlibopen(char *fname);
37                                          /* defined in getlibpath.c */
38   extern char     *getrlibpath(void);
39 +                                        /* defined in gethomedir.c */
40 + extern char *gethomedir(char *uname, char *path, int plen);
41                                          /* defined in getpath.c */
42   extern char     *getpath(char *fname, char *searchpath, int mode);
43                                          /* defined in portio.c */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines