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

📄 hello.c

📁 北美一所职业培训学院
💻 C
字号:
/* hello.c -- hello "world" function */

#include "vxWorks.h"
#include "stdio.h"
#include "semLib.h"
#include "taskLib.h"

SEM_ID semM;


int hello(void)
{
	printf("hello world!\n");
	return OK;
}

void test(void)
{
	semM = semMCreate(0);
	
}

int test1(void)
{
	semTake(semM,-1);
	printf(" take a semM \n");
	semGive(semM);
	return OK;
}
	
	

⌨️ 快捷键说明

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