|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1974 (0x7b6) Types: TextFile Notes: UNIX file Names: »space.c«
└─⟦dc276fb47⟧ Bits:30004042/kconfig1.imd SW95705I 386/ix Multi-user Release 1.2 └─⟦dc276fb47⟧ UNIX Filesystem └─⟦this⟧ »kc/new/etc/atconf/modules/cpyrt/space.c«
/* * OEM COPYRIGHTS "DRIVER" */ /* * Copyrighted as an unpublished work. * (c) Copyright INTERACTIVE Systems Corporation, 1986, 1987 * All rights reserved. * * RESTRICTED RIGHTS * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. */ #ident "@(#)space.c 1.1 - 87/05/11" /* * The following array is to be used by any drivers which need to put * OEM copyright notices out on boot up. It is initialized to all 0's * (NULL). A driver which needs to have a copyright string written to * the console during bootup should look (in the init routine) for the * first empty slot and put in a pointer at a static string which 'main' * will write out (using printf "%s\n\n") after the AT&T copyright. If * there is more than one driver from a given OEM, the init code should * check the filled slots and compare the copyright strings so a given * message only appears once. If somebody overflows the array, chaos * will probably reign. Caveat coder. */ #define NCPYRIGHT 10 int max_copyrights = NCPYRIGHT; char *oem_copyrights[NCPYRIGHT] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; /* This is an example of how to use the cpyrt driver to insert /* your copyright notice: /* /* int index; /* char *msgptr = "YOUR MESSAGE HERE"; /* /* for (index = 0; index < max_copyrights; index++) { /* if (!oem_copyrights[index]) { /* if open slot put in msg */ /* oem_copyrights[index] = msgptr; /* break; /* } /* if (!strcmp(msgptr, oem_copyrights[index])) /* break; /* msg already there */ /* } */