do {
if (tval) memcpy((void *)&t2,(void *)tval,sizeof(t2));
errno = 0;
- selrtn = select(16,SELECT_CAST fds,NULL,NULL,tval?&t2:NULL);
+ selrtn = select(255,SELECT_CAST fds,NULL,NULL,tval?&t2:NULL);
} while (selrtn<0 && errno == EINTR);
return(selrtn);
return(stat(dos_to_unix(fname,False),sbuf));
}
+/*******************************************************************
+The wait() calls vary between systems
+********************************************************************/
+int sys_waitpid(pid_t pid,int *status,int options)
+{
+ return waitpid(pid,status,options);
+}
+
/*******************************************************************
don't forget lstat()
********************************************************************/
********************************************************************/
int sys_rename(char *from, char *to)
{
-#ifdef KANJI
pstring zfrom, zto;
strcpy (zfrom, dos_to_unix (from, False));
strcpy (zto, dos_to_unix (to, False));
return rename (zfrom, zto);
-#else
- return rename (from, to);
-#endif /* KANJI */
}
/*******************************************************************