Android iOS fopen and data

Summary: Android iOS fopen and data

okay…it’s weired I am not sure it’s restrict by the OS or something else…

p>

if I want to make a data like this

FILE*l_pFile = fopen(“ooxx”,”r”);

int l_iLength = GetFileSize(l_pFile);

void*l_pFileData = malloc(l_iLength);

void*pData = something frome?l_pFileData

while I fetch data from?pData
it crush……it’s fucking weired…
so I just have to malloc new data for?pData and copy I want to avoid crush…

it’s quite possible it was crush because malloc…I am not sure.

原文:大专栏 Android iOS fopen and data

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3546 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.