forked from KolibriOS/kolibrios
libc.obj:
- Extra zero for use with gcc git-svn-id: svn://kolibrios.org@9179 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0c45d523d3
commit
9d2e5a6e3a
@ -1319,9 +1319,11 @@ int _ksys_file_read_file(const char *name, unsigned long long offset, unsigned s
|
||||
static inline
|
||||
int _ksys_file_create(const char* name){
|
||||
ksys70_t k;
|
||||
k.p00 = 2;
|
||||
k.p12 = 0;
|
||||
k.p21 = name;
|
||||
k.p00 = 2;
|
||||
k.p04dw = 0;
|
||||
k.p08dw = 0;
|
||||
k.p12 = 0;
|
||||
k.p21 = name;
|
||||
return _ksys_work_files(&k);
|
||||
}
|
||||
|
||||
@ -1354,10 +1356,13 @@ static inline
|
||||
int _ksys_file_get_info(const char *name, ksys_bdfe_t *bdfe)
|
||||
{
|
||||
ksys70_t k;
|
||||
k.p00 = 5;
|
||||
k.bdfe = bdfe;
|
||||
k.p20 = 0;
|
||||
k.p21 = name;
|
||||
k.p00 = 5;
|
||||
k.p04dw = 0;
|
||||
k.p08dw = 0;
|
||||
k.p12 = 0;
|
||||
k.bdfe = bdfe;
|
||||
k.p20 = 0;
|
||||
k.p21 = name;
|
||||
return _ksys_work_files(&k);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user