return play_track (trk, 1, trk + 1, 1);
return play_track (trk, 1, h.ending_track, 1);
int play_next (arg)	char *arg;{	int trk, min, sec, frm, rc;	struct ioc_toc_header h;	if (status (&trk, &min, &sec, &frm) >= 0)	{		trk++;		rc = ioctl (fd, CDIOREADTOCHEADER, &h);		if (rc < 0)		{			perror ("getting toc header");			return (rc);		}		if (trk > h.ending_track)		{			printf("%s: end of CD\n", __progname);			rc = ioctl (fd, CDIOCSTOP);			(void) ioctl (fd, CDIOCALLOW);			return (rc);		}		return play_track (trk, 1, trk + 1, 1);	}	return (0);}