opl_minte_test.c文件参考
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include "../include/opl_typedef.h"
Macro definition | |
#define | OPL_MINTE_DEVICE "/dev/opl_minte" |
local variable declaration and definition | |
int | opl_minte_init (int *initialized) |
description: it is used to open the /dev/opl_minte device with flag: RDWR|SYNC. | |
void | opl_minte_main (int argc, char **argv) |
description: it is the example of how to use it to check the value. | |
int | opl_minte_exit (int *initialized) |
description: close the opened file "/dev/opl_minte". | |
local function declaration | |
int | opl_minte_fd |
the global fd of the "/dev/opl_minte" | |
函数 | |
int | main (int argc, char **argv) |
description: the testing entry for minte unit testing programming. |
Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by
