⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hpcfsfunc.h

📁 vxworks的BSP开发配置文件
💻 H
字号:
/* hpcFsFunc.h - RPC functions for HPCFS *//* Copyright 1996-1998 Wind River Systems, Inc.; Copyright 2000 Intel Corp. *//*modification history--------------------01b,10jul02,scm  add C++ protection...01a,29Jun00,jdg  written*//*DESCRIPTIONThis library provides the RPC functions used by HPCFS. Each function consists oftwo parts: one that is called by the app, and one that completes the call fromthe app. */#ifdef __cplusplusextern "C" {#endif#include "hpcFs.h"int hpcFuncInit(int channel_num);int hpcfsFuncOpen(int pmode, int pperm, char *name, int *channel);int hpcfsFuncDel(char *name);int hpcfsFuncClose(int channel);int hpcfsFuncRead(int channel, char *userBuf, int maxBytes, int *actuallyRead);int hpcfsFuncWrite(int channel, char *userBuf, int maxBytes, int *actWritten);int hpcfsFuncIoctl(int channel, int request, int arg, int *resultArg);/*#define MAX_CHANNELS 256#define MAKE_CHANNEL(x) ((x) << 24)#define GET_CHANNEL(x) (((unsigned int)(x)) >> 24)#define REMOVE_CHANNEL(x) ((x) & ((1 << 24) - 1))extern HPCFS_CHANNEL_DESC* hpcfsChannel[MAX_CHANNELS];void hpcfsTxSend (char *buf1, int size1, char *buf2, int size2);#define HPCFS_IS_VALID(channel) (hpcfsChannel[(channel)] != NULL)typedef enum {    HPC_FS_FUNC_OPEN,    HPC_FS_FUNC_WRITE,    HPC_FS_FUNC_READ} HPC_FS_FUNC;*/#ifdef __cplusplus}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -