[Home]
[Contents]
[Chapter]
[Previous Algorithm]
[Next Algorithm]


Selection of next file for balances merge sort


nextfile() {extern int maxfiles, unit; extern char FilStat[]; do unit = unit%maxfiles + 1; while ( FilStat[unit] != 'o' ); return( unit ); };

C source (442.next.c)



© Addison-Wesley Publishing Co. Inc.