|
|
| version 1.2, 2025/02/26 13:26:50 | version 1.7, 2025/04/02 03:02:42 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * views.c | |
| * implementation of VIEW command and $VIEW intrinsic function | * implementation of VIEW command and $VIEW intrinsic function |
| * | * |
| * | * |
| * 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 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.7 2025/04/02 03:02:42 snw | |
| * Stop requiring users to pass -e to fmadm when -u or -g are passed | |
| * | |
| * Revision 1.6 2025/03/09 19:50:47 snw | |
| * Second phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #include <stdlib.h> | #include <stdlib.h> |
| Line 43 | Line 41 |
| #include "mwapi_window.h" | #include "mwapi_window.h" |
| #define LOCK 'l' | #define LOCK 'l' |
| #define ZDEALLOCATE 'D' | |
| /* system services */ | /* system services */ |
| Line 72 | Line 69 |
| #endif /* __CYGWIN__ */ | #endif /* __CYGWIN__ */ |
| #include <errno.h> /* snw */ | #include <errno.h> /* snw */ |
| #if defined(__NetBSD__) | #if defined(__NetBSD__) || defined(__OpenBSD__) |
| #include <sys/ioctl.h> | #include <sys/ioctl.h> |
| #endif | #endif |
| Line 104 void destroy(GtkWidget* widget, gpointer | Line 101 void destroy(GtkWidget* widget, gpointer |
| #endif | #endif |
| void view_com () | void view_com (void) |
| { | { |
| /* process VIEW command */ | /* process VIEW command */ |