sflmesg.h
来自「短小精悍的C语言标准函数库。提供450个以上的可移植的算法和工具代码。」· C头文件 代码 · 共 46 行
H
46 行
/* ----------------------------------------------------------------<Prolog>-
Name: sflmesg.h
Title: Message-file access functions
Package: Standard Function Library (SFL)
Written: 1992/10/25 iMatix SFL project team <sfl@imatix.com>
Revised: 1997/09/08
Synopsis: Provides functions to read and format messages from a message
file. The intention of such a file is to provide a single
location for all error messages: you can easier translate
these into foreign languages, and you can control the
consistency of an application's error messages.
Copyright: Copyright (c) 1996-2000 iMatix Corporation
License: This is free software; you can redistribute it and/or modify
it under the terms of the SFL License Agreement as provided
in the file LICENSE.TXT. This software is distributed in
the hope that it will be useful, but without any warranty.
------------------------------------------------------------------</Prolog>-*/
#ifndef SFLMESG_INCLUDED /* Allow multiple inclusions */
#define SFLMESG_INCLUDED
/* Function prototypes */
#ifdef __cplusplus
extern "C" {
#endif
int open_message_file (const char *filename);
void close_message_file (void);
void print_message (int msgid, ...);
char *message_text (int msgid);
#ifdef __cplusplus
}
#endif
/* Symbols, macros */
#define ERROR_ANY 0000 /* Generic error message */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?