changed Stringin and Stringout to Si and So

This commit is contained in:
Janet B. Anderson
1991-06-13 14:47:24 +00:00
parent 5c7c9eaa4d
commit 68ae167bc7
4 changed files with 26 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
/* devStringinSoft.c */
/* share/src/dev @(#)devStringinSoft.c 1.3 6/7/91 */
/* devSiSoft.c */
/* share/src/dev $Id$ */
/* devStringinSoft.c - Device Support Routines for Soft String Input */
/* devSiSoft.c - Device Support Routines for Soft String Input */
/*
* Author: Janet Anderson
* Date: 04-21-91
@@ -46,7 +46,7 @@
#include <stringinRecord.h>
/* Create the dset for devStringinSoft */
/* Create the dset for devSiSoft */
long init_record();
long read_stringin();
@@ -57,7 +57,7 @@ struct {
DEVSUPFUN init_record;
DEVSUPFUN get_ioint_info;
DEVSUPFUN read_stringin;
}devStringinSoft={
}devSiSoft={
5,
NULL,
NULL,
@@ -87,7 +87,7 @@ static long init_record(pstringin)
break;
default :
strcpy(message,pstringin->name);
strcat(message,": devStringinSoft (init_record) Illegal INP field");
strcat(message,": devSiSoft (init_record) Illegal INP field");
errMessage(S_db_badField,message);
return(S_db_badField);
}
@@ -124,7 +124,7 @@ static long read_stringin(pstringin)
pstringin->nsta = SOFT_ALARM;
if(pstringin->stat!=SOFT_ALARM) {
strcpy(message,pstringin->name);
strcat(message,": devStringinSoft (read_stringin) Illegal INP field");
strcat(message,": devSiSoft (read_stringin) Illegal INP field");
errMessage(S_db_badField,message);
}
}

View File

@@ -1,7 +1,7 @@
/* devStringinTestAsyn.c */
/* devSiTestAsyn.c */
/* share/src/dev $Id$ */
/* devStringinTestAsyn.c - Device Support Routines for testing asynchronous processing*/
/* devSiTestAsyn.c - Device Support Routines for testing asynchronous processing*/
/*
* Author: Janet Anderson
* Date: 5-1-91
@@ -48,7 +48,7 @@
#include <link.h>
#include <stringinRecord.h>
/* Create the dset for devStringinTestAsyn */
/* Create the dset for devSiTestAsyn */
long init_record();
long read_stringin();
struct {
@@ -59,7 +59,7 @@ struct {
DEVSUPFUN get_ioint_info;
DEVSUPFUN read_stringin;
DEVSUPFUN special_linconv;
}devStringinTestAsyn={
}devSiTestAsyn={
6,
NULL,
NULL,
@@ -106,7 +106,7 @@ static long init_record(pstringin,process)
pcallback->callback = myCallback;
pcallback->priority = priorityLow;
if(dbNameToAddr(pstringin->name,&(pcallback->dbAddr))) {
logMsg("dbNameToAddr failed in init_record for devStringinTestAsyn\n");
logMsg("dbNameToAddr failed in init_record for devSiTestAsyn\n");
exit(1);
}
pcallback->wd_id = wdCreate();
@@ -118,7 +118,7 @@ static long init_record(pstringin,process)
break;
default :
strcpy(message,pstringin->name);
strcat(message,": devStringinTestAsyn (init_record) Illegal INP field");
strcat(message,": devSiTestAsyn (init_record) Illegal INP field");
errMessage(S_db_badField,message);
return(S_db_badField);
}
@@ -152,7 +152,7 @@ static long read_stringin(pstringin)
pstringin->nsta = SOFT_ALARM;
if(pstringin->stat!=SOFT_ALARM) {
strcpy(message,pstringin->name);
strcat(message,": devStringinTestAsyn (read_stringin) Illegal INP field");
strcat(message,": devSiTestAsyn (read_stringin) Illegal INP field");
errMessage(S_db_badField,message);
}
}

View File

@@ -1,7 +1,7 @@
/* devStringoutSoft.c */
/* devSoSoft.c */
/* share/src/dev $Id$ */
/* devStringoutSoft.c - Device Support Routines for Soft String Output */
/* devSoSoft.c - Device Support Routines for Soft String Output */
/*
* Author: Janet Anderson
* Date: 04-21-91
@@ -44,7 +44,7 @@
#include <module_types.h>
#include <stringoutRecord.h>
/* Create the dset for devStringoutSoft */
/* Create the dset for devSoSoft */
long write_stringout();
struct {
@@ -54,7 +54,7 @@ struct {
DEVSUPFUN init_record;
DEVSUPFUN get_ioint_info;
DEVSUPFUN write_stringout;
}devStringoutSoft={
}devSoSoft={
5,
NULL,
NULL,
@@ -91,7 +91,7 @@ static long write_stringout(pstringout)
pstringout->nsta = SOFT_ALARM;
if(pstringout->stat!=SOFT_ALARM) {
strcpy(message,pstringout->name);
strcat(message,": devStringoutSoft (write_stringout) Illegal OUT field");
strcat(message,": devSoSoft (write_stringout) Illegal OUT field");
errMessage(S_db_badField,message);
}
}

View File

@@ -1,7 +1,7 @@
/* devStringoutTestAsyn.c */
/* devSoTestAsyn.c */
/* share/src/dev $Id$ */
/* devStringoutTestAsyn.c - Device Support Routines for testing asynchronous processing*/
/* devSoTestAsyn.c - Device Support Routines for testing asynchronous processing*/
/*
* Author: Janet Anderson
* Date: 5-1-91
@@ -49,7 +49,7 @@
#include <link.h>
#include <stringoutRecord.h>
/* Create the dset for devStringoutTestAsyn */
/* Create the dset for devSoTestAsyn */
long init_record();
long write_stringout();
struct {
@@ -60,7 +60,7 @@ struct {
DEVSUPFUN get_ioint_info;
DEVSUPFUN write_stringout;
DEVSUPFUN special_linconv;
}devStringoutTestAsyn={
}devSoTestAsyn={
6,
NULL,
NULL,
@@ -106,7 +106,7 @@ static long init_record(pstringout,process)
pcallback->callback = myCallback;
pcallback->priority = priorityLow;
if(dbNameToAddr(pstringout->name,&(pcallback->dbAddr))) {
logMsg("dbNameToAddr failed in init_record for devStringoutTestAsyn\n");
logMsg("dbNameToAddr failed in init_record for devSoTestAsyn\n");
exit(1);
}
pcallback->wd_id = wdCreate();
@@ -114,7 +114,7 @@ static long init_record(pstringout,process)
break;
default :
strcpy(message,pstringout->name);
strcat(message,": devStringoutTestAsyn (init_record) Illegal OUT field");
strcat(message,": devSoTestAsyn (init_record) Illegal OUT field");
errMessage(S_db_badField,message);
return(S_db_badField);
}
@@ -148,7 +148,7 @@ static long write_stringout(pstringout)
pstringout->nsta = SOFT_ALARM;
if(pstringout->stat!=SOFT_ALARM) {
strcpy(message,pstringout->name);
strcat(message,": devStringoutTestAsyn (read_stringout) Illegal OUT field");
strcat(message,": devSoTestAsyn (read_stringout) Illegal OUT field");
errMessage(S_db_badField,message);
}
}