version 1.13, 2015/01/16 06:40:13 |
version 1.14, 2015/07/21 16:22:59 |
|
|
* 3. All advertising materials mentioning features or use of this software |
* 3. All advertising materials mentioning features or use of this software |
* must display the following acknowledgement: |
* must display the following acknowledgement: |
* This product includes software developed by Winning Strategies, Inc. |
* This product includes software developed by Winning Strategies, Inc. |
* 4. The name of Winning Strategies, Inc. may not be used to endorse or |
* 4. The name of Winning Strategies, Inc. may not be used to endorse or |
* promote products derived from this software without specific prior |
* promote products derived from this software without specific prior |
* written permission. |
* written permission. |
* |
* |
|
|
case 'n': |
case 'n': |
print_mask |= PRINT_NODENAME; |
print_mask |= PRINT_NODENAME; |
break; |
break; |
case 'r': |
case 'r': |
print_mask |= PRINT_RELEASE; |
print_mask |= PRINT_RELEASE; |
break; |
break; |
case 's': |
case 's': |
print_mask |= PRINT_SYSNAME; |
print_mask |= PRINT_SYSNAME; |
break; |
break; |
case 'v': |
case 'v': |
|
|
/* NOTREACHED */ |
/* NOTREACHED */ |
} |
} |
} |
} |
|
|
if (optind != argc) { |
if (optind != argc) { |
usage(); |
usage(); |
/* NOTREACHED */ |
/* NOTREACHED */ |
|
|
if (print_mask & PRINT_MACHINE_ARCH) { |
if (print_mask & PRINT_MACHINE_ARCH) { |
if (space++) putchar(' '); |
if (space++) putchar(' '); |
fputs(MACHINE_ARCH, stdout); |
fputs(MACHINE_ARCH, stdout); |
} |
} |
putchar('\n'); |
putchar('\n'); |
|
|
exit(0); |
exit(0); |