version 1.1.1.1, 2025/01/19 02:04:04
|
version 1.4, 2025/03/09 19:50:47
|
Line 1
|
Line 1
|
/* |
/* |
* * |
* $Id$ |
* * * |
* ^$DEVICE ssvn |
* * * |
|
* *************** |
|
* * * * * |
|
* * MUMPS * |
|
* * * * * |
|
* *************** |
|
* * * |
|
* * * |
|
* * |
|
* |
|
* ssvn_device.c |
|
* ^$DEVICE ssv |
|
* |
* |
* |
* |
* Author: Serena Willis <jpw@coherent-logic.com> |
* Author: Serena Willis <snw@coherent-logic.com> |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 2020 Coherent Logic Development LLC |
* Copyright (C) 2020, 2025 Coherent Logic Development LLC |
* |
* |
* |
* |
* This file is part of FreeM. |
* This file is part of FreeM. |
Line 197 void ssvn_device(short action, char *key
|
Line 185 void ssvn_device(short action, char *key
|
break; |
break; |
} |
} |
else if (strcmp (r->subscripts[1], "NAME") == 0) { |
else if (strcmp (r->subscripts[1], "NAME") == 0) { |
sprintf (data, dev[channel]); |
sprintf (data, "%s", dev[channel]); |
break; |
break; |
} |
} |
else if (strcmp (r->subscripts[1], "TYPE") == 0) { |
else if (strcmp (r->subscripts[1], "TYPE") == 0) { |
Line 223 void ssvn_device(short action, char *key
|
Line 211 void ssvn_device(short action, char *key
|
fstat (fd, &s); |
fstat (fd, &s); |
siz = s.st_size; |
siz = s.st_size; |
|
|
sprintf (data, "%ld\201", siz); |
sprintf (data, "%ld\201", (long) siz); |
|
|
break; |
break; |
|
|