GCC/clang: int64 routines in C

This commit is contained in:
Arun Thomas
2010-11-12 18:38:10 +00:00
parent afeb246328
commit f0ab18377d
14 changed files with 411 additions and 13 deletions

View File

@@ -316,11 +316,13 @@ struct vnode *dirp;
struct vnode *entry;
char ename[NAME_MAX + 1];
{
u64_t pos = {0, 0}, new_pos;
u64_t pos, new_pos;
int r, consumed, totalbytes;
char buf[(sizeof(struct dirent) + NAME_MAX) * 8];
struct dirent *cur;
pos = make64(0, 0);
if ((dirp->v_mode & I_TYPE) != I_DIRECTORY) {
return(EBADF);
}