work/bootstrap/gec17.c
void eif_file_chgrp(EIF_FILENAME name, int gid) {
#ifdef HAS_CHOWN
	int uid;
	rt_stat_buf buf;

	rt_file_stat(name, &buf);
	uid = buf.st_uid;
	errno = 0;
	if (chown(name, uid, gid) == -1) {
		esys();
	}
#endif
}
/*
 * Change the group of the file to `gid'.
 */
Change the group of the file to `gid'.
Change the group of the file to ` gid ' .
void eif_file_chgrp(EIF_FILENAME name, int gid) {
#ifdef HAS_CHOWN
	int uid;
	rt_stat_buf buf;
	rt_file_stat(name, &buf);
	uid = buf.st_uid;
	errno = 0;
	if (chown(name, uid, gid) == -1) {
		esys();
	}
#endif
}
void eif_file_chgrp ( EIF_FILENAME name , int gid ) { #ifdef HAS_CHOWN int uid ; rt_stat_buf buf ; rt_file_stat ( name , & buf ) ; uid = buf . st_uid ; errno = 0 ; if ( chown ( name , uid , gid ) == -1 ) { esys ( ) ; } #endif }
Change the group of the file to `gid'.
Change the group of the file to ` gid ' .