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

📄 misc.h

📁 一个Windows下的Linux专用虚拟机
💻 H
字号:
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */#ifndef __COLINUX_OS_USER_MISC_H__#define __COLINUX_OS_USER_MISC_H__#include <colinux/common/common.h>typedef void (*co_terminal_print_hook_func_t)(char *str);typedef enum {	CO_TERM_COLOR_YELLOW = 1,	CO_TERM_COLOR_WHITE = 2,} co_terminal_color_t;extern void co_terminal_print(const char *format, ...)	__attribute__ ((format (printf, 1, 2)));extern void co_terminal_print_color(co_terminal_color_t color, const char *format, ...)	__attribute__ ((format (printf, 2, 3)));extern void co_set_terminal_print_hook(co_terminal_print_hook_func_t func);extern void co_process_high_priority_set(void);extern int co_udp_socket_connect(const char *addr, unsigned short int port);extern int co_udp_socket_send(int sock, const char *buffer, unsigned long size);extern void co_udp_socket_close(int sock);#endif

⌨️ 快捷键说明

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