2 #define _INCLUDE_POSIX_SOURCE /* for HP-UX */
3 #define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
12 g_char(a
,alen
,b
) char *a
,*b
; ftnlen alen
;
14 g_char(char *a
, ftnlen alen
, char *b
)
17 char *x
= a
+ alen
, *y
= b
+ alen
;
34 b_char(a
,b
,blen
) char *a
,*b
; ftnlen blen
;
36 b_char(char *a
, char *b
, ftnlen blen
)
39 for(i
=0;i
<blen
&& *a
!=0;i
++) *b
++= *a
++;
40 for(;i
<blen
;i
++) *b
++=' ';
42 #ifndef NON_UNIX_STDIO
44 long f__inode(a
, dev
) char *a
; int *dev
;
46 long f__inode(char *a
, int *dev
)
49 if(stat(a
,&x
)<0) return(-1);