gsm_util.cc
来自「对各种手机进行编程的工具包源码gsmlib 1.9版本。」· CC 代码 · 共 44 行
CC
44 行
// *************************************************************************// * GSM TA/ME library// *// * File: gsm_util.h// *// * Purpose: Various utilities// *// * Author: Peter Hofmann (software@pxh.de)// *// * Created: 4.5.1999// *************************************************************************#ifdef HAVE_CONFIG_H#include <gsm_config.h>#endif#include <gsmlib/gsm_nls.h>#include <gsmlib/gsm_util.h>#include <gsmlib/gsm_sysdep.h>#include <sys/stat.h>#include <assert.h>#include <string.h>#include <iostream>#include <strstream>#include <ctype.h>#include <errno.h>#if !defined(HAVE_CONFIG_H) || defined(HAVE_UNISTD_H)#include <unistd.h>#endif#if !defined(HAVE_CONFIG_H) || defined(HAVE_MALLOC_H)#include <malloc.h>#endif#include <stdarg.h>#ifdef HAVE_VSNPRINTF// switch on vsnprintf() prototype in stdio.h#define __USE_GNU#define _GNU_SOURCE#endif#include <stdio.h>#include <sys/stat.h>using namespace std;using namespace gsmlib;// Latin-1 undefined character (code 172 (Latin-1 boolean not, "
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?