![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework 4.1 |
| パブリック関数 | |
|---|---|
| static SInt32 |
atoi(
ACharConstPtr string
) 入力された文字列を整数に変換します。
|
| static ACharPtr |
basename(
ACharConstPtr path
) パスからファイル名部分のみを抜き出して返します。
|
| static VoidPtr |
compressmem( Void ) COMPRESSMEM()ヘルパー関数を呼びます。
|
| static VoidPtr |
convertbmp(
VoidPtr address
, AEEImageInfo * info
, BoolPtr reallocate
) Windowsのビットマップをネイティブフォーマットに変換します。
|
| static Void |
dbgevent(
AEEEvent event
, AEECLSID id
) デバッグイベントを出力します。
|
| static Void |
dbgevent_ex(
AEEEvent event
, AEECLSID id
, UInt32 payload
) デバッグイベントを出力します。
|
| static VoidPtr |
dbgheapmarkex(
VoidPtr address
, ACharConstPtr file
, SInt32 line
) BREWのヒープメモリの検出機能に対してヒープを登録します。
|
| static Void |
dbgprintf(
ACharConstPtr format
, ...
) デバッグ情報を出力します。
|
| static Void |
dumpheap( Void ) BREWが管理しているヒープの一覧を出力します。
|
| static SFCError |
err_malloc(
UIntN size
, VoidHandle handle
) エラー値を返す malloc() です。
|
| static SFCError |
err_realloc(
UIntN size
, VoidHandle handle
) エラー値を返す realloc() です。
|
| static SFCError |
err_strdup(
ACharConstPtr string
, ACharHandle result
) エラー値を返す strdup() です。
|
| static Float64 |
fabs(
Float64 value
) 浮動小数点値 value の絶対値を計算します。
|
| static Float64 |
fadd(
Float64 left
, Float64 right
) 浮動小数点数の加算演算を実行します。
|
| static Float64 |
fassign_int(
SInt32 value
) 入力文字列で指定した値の Float64 を返します。
|
| static Float64 |
fassign_str(
ACharConstPtr string
) 入力文字列で指定した値の Float64 を返します。
|
| static Float64 |
fceil(
Float64 value
) value 以上の最小の整数値を計算します。
|
| static Bool |
fcmp_e(
Float64 left
, Float64 right
) 浮動小数点数の「等価」比較を実行します。
|
| static Bool |
fcmp_g(
Float64 left
, Float64 right
) 浮動小数点数の「大なり」比較を実行します。
|
| static Bool |
fcmp_ge(
Float64 left
, Float64 right
) 浮動小数点数の「大なりまたは等価」比較を実行します。
|
| static Bool |
fcmp_l(
Float64 left
, Float64 right
) 浮動小数点数の「小なり」比較を実行します。
|
| static Bool |
fcmp_le(
Float64 left
, Float64 right
) 浮動小数点数の「小なりまたは等価」比較を実行します。
|
| static Float64 |
fcos(
Float64 value
) 浮動小数点値 value の余弦関数 (cos) を計算します。
|
| static Float64 |
fdiv(
Float64 left
, Float64 right
) 浮動小数点数の除算演算を実行します。
|
| static Float64 |
ffloor(
Float64 value
) value 以下の最大の整数値を計算します。
|
| static Float64 |
fgetflt_max( Void ) FLT_MAX を返します。
|
| static Float64 |
fgetflt_min( Void ) FLT_MIN を返します。
|
| static Float64 |
fgethuge_val( Void ) HUGE_VAL を返します。
|
| static Bool |
floattowstr(
Float64 value
, WCharPtr destination
, UIntN size
) 浮動小数点数値をWChar 型文字列に変換します。
|
| static SInt32 |
flttoint(
Float64 value
) 浮動小数点値 value の整数値に変換します。
|
| static Float64 |
fmul(
Float64 left
, Float64 right
) 浮動小数点数の乗算演算を実行します。
|
| static Float64 |
fpow(
Float64 left
, Float64 right
) left の right 乗を計算します。
|
| static Void |
free(
VoidPtr address
) 標準Cライブラリのfree()に対応します。
|
| static Float64 |
fsin(
Float64 value
) 浮動小数点値 value の正弦関数 (sin) を計算します。
|
| static Float64 |
fsqrt(
Float64 value
) 浮動小数点値 value の平方根を計算します。
|
| static Float64 |
fsub(
Float64 left
, Float64 right
) 浮動小数点数の減算演算を実行します。
|
| static Float64 |
ftan(
Float64 value
) 浮動小数点値 value の正接関数 (tan) を計算します。
|
| static UInt32 |
getaeeversion(
ACharPtr destination
, UIntN size
, UInt16 flag
) BREWソフトウェアのバージョン番号に関する情報を取得します。
|
| static SFBQueryPtr |
getalscontext( Void ) 現在実行中のアプレットのアプリケーション ローカル ストレージ コンテキストを取得します。
|
| static SFCAppletPtr |
getappinstance( Void ) アプリの SFCApplet インスタンスを取得します。
|
| static TChType |
getchtype(
WChar character
) ワイド文字のタイプ(数字、英字、およびその他のタイプ)を取得します。
|
| static UInt32 |
getfsfree(
UInt32Ptr total
) システムで使用可能なファイル システムの空き容量を取得します。
|
| static Void |
getjuliandate(
UInt32 second
, JulianType* date
) 入力された秒数に基づいて JulianType データ構造体にデータを読み込み取得します。
|
| static SFCError |
getlastfperror( Void ) 最後に行われた浮動小数点操作で設定されたエラーを取得します。
|
| static UInt32 |
getramfree(
UInt32Ptr total
, UInt32Ptr maximum
) ヒープ内の空きバイトの数を取得します。
|
| static Void |
getrand(
VoidPtr destination
, UIntN size
) デバイスの乱数ジェネレータを使って、入力バッファにランダムな値の配列を読み込み取得します。
|
| static UInt32 |
gettimems( Void ) 現在の時刻をミリ秒を取得します。
|
| static UInt32 |
gettimeseconds( Void ) 現地時間に調節した、1980年1月6日00:00:00(グリニッジ標準時)からの秒数を取得します。
|
| static VoidPtr |
gettls( Void ) BREW の TLS レコードへの定義済み static ポインターを取得します。
|
| static UInt32 |
getuptimems( Void ) デバイスに電源が投入されてからの経過時間をミリ秒で取得します。
|
| static UInt32 |
getutcseconds( Void ) 1980年1月6日00:00:00(グリニッジ標準時)からの秒数をグリニッジ標準時で取得します。
|
| static Bool |
inet_aton(
ACharConstPtr string
, INAddr* address
) 文字列をInetAddr(unsigned long型)に変換します。
|
| static Void |
inet_ntoa(
INAddr address
, ACharPtr destination
, UIntN size
) InetAddr(unsigned long型)をASCII文字列に変換します。
|
| static SIntN |
inet_ntop(
SIntN family
, VoidConstPtr address
, ACharPtr destination
, UIntN size
) アドレス構造体を与えられたアドレス ファミリに応じた文字列に変換します。
|
| static SIntN |
inet_pton(
SIntN family
, ACharConstPtr source
, VoidPtr address
) 文字列を与えられたアドレス ファミリに応じたアドレス構造体に変換します。
|
| static Bool |
isbadreadptr(
VoidPtr address
, UIntN size
) ISBADREADPTR()ヘルパー関数を呼びます。
|
| static Bool |
isbadwriteptr(
VoidPtr address
, UIntN size
) ISBADWRITEPTR()ヘルパー関数を呼びます。
|
| static UInt32 |
juliantoseconds(
JulianType* date
) 指定したユリウス日付時刻に対応する、CDMA基準時からの経過秒数を返します。
|
| static SInt32 |
localtimeoffset(
BoolPtr daylight
) UTCからの現地時間帯のオフセットを秒数で返します。
|
| static SIntN |
lockmem(
VoidHandle handle
) ブロックを固定メモリーとしてマークします。
|
| static SFCError |
makepath(
ACharConstPtr directory
, ACharConstPtr file
, ACharPtr destination
, SInt32Ptr size
) ディレクトリ名とファイル名からパスを作成します。
|
| static VoidPtr |
malloc(
UIntN size
) 標準 C ライブラリの malloc() 関数に対応します。
|
| static ACharPtr |
memchr(
VoidConstPtr address
, AChar character
, UIntN size
) 標準 C ライブラリの memchr() 関数に対応します。
|
| static ACharPtr |
memchrend(
VoidConstPtr address
, AChar character
, UIntN size
) メモリーバッファ内で特定の文字を検索します。
|
| static SInt32 |
memcmp(
VoidConstPtr left
, VoidConstPtr right
, UIntN size
) 標準 C ライブラリの memcmp() 関数に対応します。
|
| static VoidPtr |
memcpy(
VoidPtr destination
, VoidConstPtr source
, UIntN size
) 標準 C ライブラリの memcpy() 関数に対応します。
|
| static VoidPtr |
memmove(
VoidPtr destination
, VoidConstPtr source
, UIntN size
) 標準 C ライブラリの memmove() 関数に対応します。
|
| static ACharPtr |
memrchr(
VoidConstPtr address
, AChar character
, UIntN size
) バッファ内で特定の文字の最後の発生を検索します。
|
| static ACharPtr |
memrchrbegin(
VoidConstPtr address
, AChar character
, UIntN size
) メモリーバッファ内で特定の文字の最後の発生を検索します。
|
| static VoidPtr |
memset(
VoidPtr destination
, UInt08 value
, UIntN size
) 標準 C ライブラリの memset() 関数に対応します。
|
| static ACharPtr |
memstr(
VoidConstPtr address
, ACharConstPtr string
, UIntN size
) メモリーバッファ内で特定の文字列の最初の発生を検索します。
|
| static Void |
msleep(
UInt32 time
) BREW アプリの実行を、指定したミリ秒数の間中断します。
|
| static SInt32 |
oemstrlen(
ACharConstPtr string
) AChar 型文字列の長さを返します。
|
| static UIntN |
oemstrsize(
ACharConstPtr string
) AChar 型文字列のサイズ(バイト数)を返します。
|
| static Void |
qsort(
VoidPtr base
, UIntN length
, UIntN size
, PFNQSORTCOMPARE comparator
) 標準 C ライブラリの qsort() 関数に対応します。
|
| static VoidPtr |
realloc(
VoidPtr address
, UIntN size
) 標準 C ライブラリの realloc() 関数に対応します。
|
| static VoidPtr |
setstaticbottom(
VoidPtr address
) BREW の定義済み static ポインターをスタックの底に設定し、古い値を設定します。
|
| static VoidPtr |
setstaticptr(
SIntN id
, VoidPtr address
) BREW の定義済み static ポインターを設定し、古い値を設定します。
|
| static VoidPtr |
settls(
VoidPtr address
) BREW の TLS レコードへの定義済み static ポインターを取得し、古い値を設定します。
|
| static SInt32 |
snprintf(
ACharPtr destination
, UIntN size
, ACharConstPtr format
, ...
) 標準 C ライブラリの snprintf() 関数に対応します。
|
| static ACharPtr |
splitpath(
ACharConstPtr path
, ACharConstPtr directory
) 指定したパスから指定したディレクトリを除きます。
|
| static SInt32 |
sprintf(
ACharPtr destination
, ACharConstPtr format
, ...
) 標準 C ライブラリの sprintf() 関数に対応します。
|
| static Bool |
strbegins(
ACharConstPtr prefix
, ACharConstPtr string
) 文字列が接頭辞で始まるかチェックします。
|
| static ACharPtr |
strcat(
ACharPtr destination
, ACharConstPtr source
) 標準 C ライブラリの strcat() 関数に対応します。
|
| static ACharPtr |
strchr(
ACharConstPtr string
, AChar character
) 標準 C ライブラリの strchr() 関数に対応します。
|
| static ACharPtr |
strchrend(
ACharConstPtr string
, AChar character
) 文字列内で特定の文字の最初の発生を検索します。
|
| static ACharPtr |
strchrsend(
ACharConstPtr string
, ACharConstPtr param
) 文字列内で特定の文字リストの最初の発生を検索します。
|
| static SInt32 |
strcmp(
ACharConstPtr left
, ACharConstPtr right
) 標準 C ライブラリの strcmp() 関数に対応します。
|
| static ACharPtr |
strcpy(
ACharPtr destination
, ACharConstPtr source
) 標準 C ライブラリの strcpy() 関数に対応します。
|
| static ACharPtr |
strdup(
ACharConstPtr string
) 標準 C ライブラリの strdup() 関数に対応します。
|
| static Bool |
strends(
ACharConstPtr suffix
, ACharConstPtr string
) 文字列が接尾辞で終わるかチェックします。
|
| static Void |
strexpand(
ACharConstPtr source
, SInt32 length
, WCharPtr destination
, UIntN size
) 入力文字列をワイド文字に拡大します。
|
| static Bool |
stribegins(
ACharConstPtr prefix
, ACharConstPtr string
) 文字列が接頭辞で始まるかチェックします。
|
| static SInt32 |
stricmp(
ACharConstPtr left
, ACharConstPtr right
) 標準 C ライブラリの strcasecmp() 関数、stricmp() 関数、または strcmpi() 関数に対応します。
|
| static ACharPtr |
stristr(
ACharConstPtr string
, ACharConstPtr param
) 別の文字列内で特定の文字列の最初の発生を検索します。
|
| static SInt32 |
strlcat(
ACharPtr destination
, ACharConstPtr source
, UIntN size
) 文字列を宛先バッファの最後に連結し、nullで終結することを保証します。
|
| static SInt32 |
strlcpy(
ACharPtr destination
, ACharConstPtr source
, UIntN size
) 文字列を宛先バッファの最後にコピーし、nullで終結することを保証します。
|
| static SInt32 |
strlen(
ACharConstPtr string
) 標準 C ライブラリの strlen() 関数に対応します。
|
| static ACharPtr |
strlower(
ACharPtr string
) AChar 型文字列をすべて小文字に変換します。
|
| static SInt32 |
strncmp(
ACharConstPtr left
, ACharConstPtr right
, SInt32 length
) 標準 C ライブラリの strncmp() 関数に対応します。
|
| static ACharPtr |
strncpy(
ACharPtr destination
, ACharConstPtr source
, SInt32 length
) 標準 C ライブラリの strncpy() 関数に対応します。
|
| static SInt32 |
strnicmp(
ACharConstPtr left
, ACharConstPtr right
, SInt32 length
) 標準 C ライブラリの strncasecmp() 関数、strnicmp() 関数、または strncmpi() 関数に対応します。
|
| static ACharPtr |
strrchr(
ACharConstPtr string
, AChar character
) 標準 C ライブラリのstrrchr() 関数に対応します。
|
| static ACharPtr |
strstr(
ACharConstPtr string
, ACharConstPtr param
) 標準 C ライブラリの strstr() 関数に対応します。
|
| static Float64 |
strtod(
ACharConstPtr string
, ACharHandle result
) 文字列の最初の部分を Float64 型に変換します。
|
| static UInt32 |
strtoul(
ACharConstPtr string
, ACharHandle result
, SInt32 base
) 標準 C ライブラリの strtoul() 関数に対応します。
|
| static WCharPtr |
strtowstr(
ACharConstPtr source
, WCharPtr destination
, UIntN size
) AChar 型文字列をWChar 型文字列に変換します。
|
| static ACharPtr |
strupper(
ACharPtr string
) AChar 型文字列をすべて大文字に変換します。
|
| static UInt32 |
swapl(
UInt32 value
) unsigned long型の値の上位バイトと下位バイトを入れ替えます。
|
| static UInt16 |
swaps(
UInt16 value
) unsigned short型の値の上位バイトと下位バイトを入れ替えます。
|
| static Void |
sysfree(
VoidPtr address
) CONVERTBMP() から返されたメモリーポインターをシステムに戻します。
|
| static SInt32 |
trunc(
Float64 value
) 浮動小数点値 value を符号付きの整数に変換します。
|
| static SIntN |
unlockmem(
VoidHandle handle
) ブロックを移動可能メモリーとしてマークします。
|
| static Bool |
utf8towstr(
ACharConstPtr source
, SInt32 length
, WCharPtr destination
, UIntN size
) UTF8文字列をWChar 型文字列に変換します。
|
| static UInt32 |
utrunc(
Float64 value
) 浮動小数点値 value を符号なしの整数に変換します。
|
| static SInt32 |
vsnprintf(
ACharPtr destination
, UIntN size
, ACharConstPtr format
, va_list argument
) 書式化された出力をストリームに書き込みます。
|
| static SInt32 |
vsprintf(
ACharPtr destination
, ACharConstPtr format
, va_list argument
) 標準 C ライブラリの vsprintf() 関数に対応します。
|
| static Float64 |
wgs84_to_degrees(
SInt32 value
) WGS84 回転楕円形式の緯度または経度を 10 進度形式に変換します。
|
| static Void |
wsprintf(
WCharPtr destination
, UIntN size
, WCharConstPtr format
, ...
) SPRINTF()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static WCharPtr |
wstrcat(
WCharPtr destination
, WCharConstPtr source
) STRCAT()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static WCharPtr |
wstrchr(
WCharConstPtr string
, WChar character
) STRCHR()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrcmp(
WCharConstPtr left
, WCharConstPtr right
) STRCMP()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static Void |
wstrcompress(
WCharConstPtr source
, SInt32 length
, ACharPtr destination
, UIntN size
) 入力として指定したWChar 型文字列を圧縮します。
|
| static WCharPtr |
wstrcpy(
WCharPtr destination
, WCharConstPtr source
) STRCPY()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static WCharPtr |
wstrdup(
WCharConstPtr string
) STRDUP()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstricmp(
WCharConstPtr left
, WCharConstPtr right
) STRICMP()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrlcat(
WCharPtr destination
, WCharConstPtr source
, SInt32 size
) STRLCAT()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrlcpy(
WCharPtr destination
, WCharConstPtr source
, SInt32 size
) STRLCPY()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrlen(
WCharConstPtr string
) STRLEN()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static Void |
wstrlower(
WCharPtr string
) STRLOWER()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrncmp(
WCharConstPtr left
, WCharConstPtr right
, SInt32 length
) STRNCMP()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static SInt32 |
wstrncopyn(
WCharPtr destination
, SInt32 size
, WCharConstPtr source
, SInt32 length
) ソース文字列の指定した長さを宛先にコピーします。
|
| static SInt32 |
wstrnicmp(
WCharConstPtr left
, WCharConstPtr right
, SInt32 length
) STRNICMP()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static WCharPtr |
wstrrchr(
WCharConstPtr string
, WChar character
) STRRCHR()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static UIntN |
wstrsize(
WCharConstPtr string
) WChar 型文字列のサイズ(バイト数)を返します。
|
| static Float64 |
wstrtofloat(
WCharConstPtr string
) WChar 型文字列を浮動小数点数値に変換します。
|
| static ACharPtr |
wstrtostr(
WCharConstPtr source
, ACharPtr destination
, UIntN size
) WChar 型文字列をAChar 型文字列に変換します。
|
| static Bool |
wstrtoutf8(
WCharConstPtr source
, SInt32 length
, ACharPtr destination
, UIntN size
) WChar 型文字列をUTF8文字列に変換します。
|
| static Void |
wstrupper(
WCharPtr string
) STRUPPER()と同じ機能を持ち、WChar 型文字列に対応しています。
|
| static WCharPtr |
wwritelong(
WCharPtr destination
, SInt32 value
) value の10進値をゼロ終結文字列として書き込みます。
|
| static WCharPtr |
wwritelongex(
WCharPtr destination
, SInt32 value
, SInt32 padding
, SInt32Ptr result
) long型をWChar 型文字列に変換します。
|
[ public, static ] SInt32 atoi( ACharConstPtr string // ソース文字列へのポインター );
[ public, static ] ACharPtr basename( ACharConstPtr path );
ディレクトリ名とファイル名からパス名を作成します。
basename 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。
[ public, static ] VoidPtr compressmem(Void);
compressmem 関数は BREW SDK のバージョンが 3.1 未満の場合に使えます。
[ public, static ] VoidPtr convertbmp( VoidPtr address // Windowsビットマップを格納するバッファへのポインター AEEImageInfo * info // 変換後の画像の情報 BoolPtr reallocate // メモリーが分割して割り当てられたかどうか );
dbgevent 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。
[ public, static ] Void dbgevent_ex( AEEEvent event // イベント AEECLSID id // ClassID UInt32 payload // ユーザー定義のペイロード );
dbgevent_ex 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。
[ public, static ] VoidPtr dbgheapmarkex( VoidPtr address // 登録するヒープのアドレス ACharConstPtr file // ファイル名 SInt32 line // 行番号 );
[ public, static ] Void dbgprintf( ACharConstPtr format // 書式制御文字列 ... // オプションの引数 );
[ public, static ] Void dumpheap(Void);
[ public, static ] SFCError err_malloc( UIntN size // バッファのサイズ(バイト数) VoidHandle handle // 確保したバッファのハンドル );
err_malloc 関数は、割り当てられたメモリの初期化は行いません。
err_malloc 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] SFCError err_realloc( UIntN size // バッファのサイズ(バイト数) VoidHandle handle // 確保したバッファのハンドル );
err_realloc 関数は、割り当てられたメモリの初期化は行いません。
err_realloc 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] SFCError err_strdup( ACharConstPtr string // 複製する文字列 ACharHandle result // 結果へのハンドル );
err_strdup 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
fabs 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] Float64 fassign_str( ACharConstPtr string // 割り当てる値が含まれる文字列 );
fceil 関数は BREW SDK のバージョンが 2.1 以上の場合に使えます。
fcos 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
ffloor 関数は BREW SDK のバージョンが 2.1 以上の場合に使えます。
[ public, static ] Float64 fgetflt_max(Void);
fgetflt_max 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] Float64 fgetflt_min(Void);
fgetflt_min 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] Float64 fgethuge_val(Void);
fgethuge_val 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] Bool floattowstr( Float64 value // WChar 型文字列に変換する浮動小数点数値 WCharPtr destination // 変換後のWChar 型文字列を格納するWChar 型文字列バッファへのポインター UIntN size // destinationバッファのサイズ(バイト数) );
flttoint 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
fpow 関数は BREW SDK のバージョンが 2.1 以上の場合に使えます。
fsin 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
fsqrt 関数は BREW SDK のバージョンが 2.1 以上の場合に使えます。
ftan 関数は BREW SDK のバージョンが 3.1 以上の場合に使えます。
[ public, static ] UInt32 getaeeversion( ACharPtr destination // バージョン番号を含む文字列が格納されるバッファへのポインター UIntN size // destination バッファのサイズ(バイト数) UInt16 flag // 取得する情報のタイプ );
[ public, static ] SFBQueryPtr getalscontext(Void);
getalscontext 関数は BREW SDK のバージョンが 4.0 以上の場合に使えます。
[ public, static ] SFCAppletPtr getappinstance(Void);
[ public, static ] Void getjuliandate( UInt32 second // デバイスの基準時間である1980 年 1 月 6 日(グリニッジ標準時)からの秒数 JulianType* date // 値が返されたときにデータが読み込まれる構造体へのポインター );
[ public, static ] SFCError getlastfperror(Void);
getlastfperror 関数は BREW SDK のバージョンが 2.1 以上の場合に使えます。
[ public, static ] UInt32 getramfree( UInt32Ptr total // システムの合計メモリで設定する値へのポインター UInt32Ptr maximum // 割り当てできる最大サイズブロックで設定する値へのポインター );
[ public, static ] Void getrand( VoidPtr destination // 宛先バッファへのポインター UIntN size // バッファのサイズ(バイト数) );
[ public, static ] UInt32 gettimems(Void);
[ public, static ] UInt32 gettimeseconds(Void);
[ public, static ] VoidPtr gettls(Void);
[ public, static ] UInt32 getuptimems(Void);
[ public, static ] UInt32 getutcseconds(Void);
1980年1月6日00:00:00(グリニッジ標準時)からの秒数をグリニッジ標準時で返します。
この関数は BREW SDK のバージョンが 3.0 以上の場合にのみ使用できます。
[ public, static ] Bool inet_aton( ACharConstPtr string // addr が含まれる文字列("1.2.3.4"など) INAddr* address // 取得する Inet アドレスへのポインター );
[ public, static ] Void inet_ntoa( INAddr address // 変換する Inet アドレス ACharPtr destination // 書き込みバッファ UIntN size // destination のサイズ );
[ public, static ] SIntN inet_ntop( SIntN family // 変換するアドレス構造体のアドレス ファミリ VoidConstPtr address // 変換するアドレス構造体へのポインター ACharPtr destination // 文字列の書き込み先バッファ UIntN size // destination が指すバッファのサイズ );
inet_ntop 関数は BREW SDK のバージョンが 4.0 以上の場合に使えます。
[ public, static ] SIntN inet_pton( SIntN family // 変換する文字列のアドレス ファミリ ACharConstPtr source // アドレスを含む文字列で、IPv4 アドレスまたは IPv6 アドレスのいずれかを含む VoidPtr address // アドレスを格納するアドレス構造体へのポインター );
inet_pton 関数は BREW SDK のバージョンが 4.0 以上の場合に使えます。
長さ size のバッファ address がコール側によって読み込み不可か判定します。
isbadreadptr 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。
長さ size のバッファ address がコール側によって書き込み不可か判定します。
isbadwriteptr 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。
[ public, static ] UInt32 juliantoseconds( JulianType* date // ユリウス日付時刻構造体 JulianType へのポインター );
[ public, static ] SInt32 localtimeoffset( BoolPtr daylight // null 以外を指定した場合、リターン時にサマータイムが有効かどうかを示します );
[ public, static ] SIntN lockmem( VoidHandle handle // 割り当てられたメモリーのハンドルへのポインター );
[ public, static ] SFCError makepath( ACharConstPtr directory // ディレクトリ ACharConstPtr file // パスのファイル部分 ACharPtr destination // パスの書き込み先 SInt32Ptr size // destination のサイズ );
null で終結するディレクトリ。
パスのファイル部分。
パスの書き込み先となる宛先バッファ。null を渡しても安全です。
入力時は、destination のサイズ。出力時は destination へ書き込まれたバイト数 (null を含む)。destination が null の場合は、パスを作成するために必要なバイト数。
makepath 関数は BREW SDK のバージョンが 3.0 以上の場合に使えます。