This is Unofficial EPICS BASE Doxygen Site
devPrintfSoft.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * EPICS BASE is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 /*
8  * Author: Andrew Johnson
9  * Date: 28 Sept 2012
10  */
11 
12 #include "dbAccess.h"
13 #include "printfRecord.h"
14 #include "epicsExport.h"
15 
16 static long write_string(printfRecord *prec)
17 {
18  return dbPutLinkLS(&prec->out, prec->val, prec->len);
19 }
20 
21 printfdset devPrintfSoft = {
22  { 5, NULL, NULL, NULL, NULL }, write_string
23 };
25 
#define NULL
Definition: catime.c:38
Definition: devSup.h:140
epicsExportAddress(dset, devPrintfSoft)
int prec
Definition: reader.c:29
printfdset devPrintfSoft
Definition: devPrintfSoft.c:21
Exporting IOC objects.