Veoh @ アニメ専用 pa ..
[2ch|▼Menu]
192:名無しさん@お腹いっぱい。
08/09/27 17:01:12 UlSWVOZE0
偽装うぐぅ高速デコーダお気軽版 移植/コンパイルは誰かやってくれ。

#include <cstdio>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

#include <vector>

#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>

#define BLOCKSIZE 4096
#define MAX_PATH 1024
#define INFOSIZE 24
#define TAILSIZE 16
#define MAGICSIZE 8
const char magic[] = {0x82, 0xa4, 0x82, 0xae, 0x82, 0xa3, 0x81, 0x60,};

typedef struct{
double filesize1;
double filesize2;
double namesize;
} FInfo;

off_t getFileSize(char * path)
{
struct stat file_stats;
if(stat(path,&file_stats)) return -1;
return file_stats.st_size;
}



次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

5161日前に更新/169 KB
担当:undef