1 #ifndef lint 2 static char rcsid[] = "$Id: dev_query.c,v 1.1 1997/02/28 14:02:08 tommy Exp $"; 3 #endif 4 5 #include <fcntl.h> 6 #include <unistd.h> 7 8 #include "play.h" 9 dev_query(char * device)10int dev_query(char *device) 11 { 12 int fd; 13 14 if ((fd = open(device, O_WRONLY, 0)) < 0) 15 return FALSE; 16 17 close(fd); 18 19 return TRUE; 20 } 21