[10511] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.4H: contains empty prototypes

daemon@ATHENA.MIT.EDU (Calvin Clark)
Fri May 21 17:44:08 1993

Date: Fri, 21 May 93 17:42:46 -0400
From: Calvin Clark <ckclark@MIT.EDU>
To: bugs@Athena.MIT.EDU

-------
System name:		podge
Type and version:	KN01 7.4H (1 update(s) to same version)
Display type:		PMAX-MFB

What were you trying to do?

	Compile a program.

What's wrong:

	The following functions have empty prototypes in <sys/stat.h>

extern  mode_t  umask();
extern  int
        chmod(),
        fstat(),
        mkdir(),
        mkfifo(),
        stat();

	The argument types to these functions are specified in POSIX
1003.1.  They should be included here.  Example:

#ifdef __STDC__
int stat(const char *path, struct stat *buf);
...

What should have happened:

	ULTRIX has done this for other files (e.g., string.h).  I
suppose they never got around to fixing lowly <sys/stat.h>.

Please describe any relevant documentation references:

	POSIX 1003.1	

home help back first fref pref prev next nref lref last post