[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: some more JOBS

> May I suggest a code generating macro instead:
> #define PRINT_FS(pref, fs, suf) \
> 	case pref##fs##suf: \
> 		printf (#fs "\n"); \
> 		break;

If all operating systems recognized all filesystems, this would be
reasonable, however, this is not true.  For instance, I do not think
Linux knows anything about the MSLOSS filesystem.  Thus, here your macro
would lose.

Attachment: pgpZu9wWJhnZX.pgp
Description: PGP signature

Reply to: