test/dev/devspec.c
/* Called by apps to open the device. */
Called by apps to open the device.
Called by apps to open the device .
static int 
spec_psdev_open(struct inode* inode, struct file* filp)
{
	DPRINT ("process %d has opened device\n", current->pid);
	return 0;
}
static int spec_psdev_open ( struct inode * inode , struct file * filp ) { DPRINT ( " \n " , current -> pid ) ; return 0 ; }
Called by apps to open the device.
Called by apps to open the device .