Goonstation 13 - Modules - TypesDefine Details

_std/defines/mainframe_defines/_syscalls.dm

DWAINE_COMMAND_MSG_TERMSend a message or file to a connected terminal device. Accepted data fields:
DWAINE_COMMAND_ULOGINSend a log in request to the kernel. Accepted data fields:
DWAINE_COMMAND_UGROUPUpdate the user's group. Accepted data fields:
DWAINE_COMMAND_ULISTList all current users. No applicable data fields.
DWAINE_COMMAND_UMSGSend message to a connected user terminal. Cannot send messages to non-user terminals. Accepted data fields:
DWAINE_COMMAND_UINPUTActs as an alternate path for user input. Accepted data fields:
DWAINE_COMMAND_DMSGSend message to a specified driver. Accepted data fields:
DWAINE_COMMAND_DLISTList all drivers of a specific terminal type. Accepted data fields:
DWAINE_COMMAND_DGETGet the ID of a specific driver. Accepted data fields:
DWAINE_COMMAND_DSCANInstruct the mainframe to recheck for devices now instead of waiting for the full timeout. No applicable data fields.
DWAINE_COMMAND_EXITInstruct the caller_prog to exit the current running program. No applicable data fields.
DWAINE_COMMAND_TSPAWNRun a task located at a specified filepath. Accepted data fields:
DWAINE_COMMAND_TFORKRun a new child task of the calling program's type. Accepted data fields:
DWAINE_COMMAND_TKILLTerminate a child task of the calling program. Accepted data fields:
DWAINE_COMMAND_TLISTList all child tasks of the calling program. No applicable data fields.
DWAINE_COMMAND_TEXITInstruct a program to exit the current running task. No applicable data fields.
DWAINE_COMMAND_FGETGet the computer file at the specified filepath. Accepted data fields:
DWAINE_COMMAND_FKILLDelete the computer file at the specified filepath. Accepted data fields:
DWAINE_COMMAND_FMODEAdjust the permissions of the computer file at the specified filepath. Accepted data fields:
DWAINE_COMMAND_FOWNERAdjust the owner and group of the computer file at the specified filepath. Accepted data fields:
DWAINE_COMMAND_FWRITEWrite a provided computer file to the specified path. Accepted data fields:
DWAINE_COMMAND_CONFGETGet the config file of the specified name. Accepted data fields:
DWAINE_COMMAND_MOUNTSet up a mountpoint for a device driver. Accepted data fields:
DWAINE_COMMAND_RECVFILEInstruct a program to receive and handle a file. No applicable data fields.
DWAINE_COMMAND_BREAKInstruct a program to halt processing a script. No applicable data fields.
DWAINE_COMMAND_REPLYReply to a request for information. Has unique data fields for each implementation, depending on the data requested.

Define Details

DWAINE_COMMAND_BREAK

Instruct a program to halt processing a script. No applicable data fields.

DWAINE_COMMAND_CONFGET

Get the config file of the specified name. Accepted data fields:

DWAINE_COMMAND_DGET

Get the ID of a specific driver. Accepted data fields:

DWAINE_COMMAND_DLIST

List all drivers of a specific terminal type. Accepted data fields:

DWAINE_COMMAND_DMSG

Send message to a specified driver. Accepted data fields:

DWAINE_COMMAND_DSCAN

Instruct the mainframe to recheck for devices now instead of waiting for the full timeout. No applicable data fields.

DWAINE_COMMAND_EXIT

Instruct the caller_prog to exit the current running program. No applicable data fields.

DWAINE_COMMAND_FGET

Get the computer file at the specified filepath. Accepted data fields:

DWAINE_COMMAND_FKILL

Delete the computer file at the specified filepath. Accepted data fields:

DWAINE_COMMAND_FMODE

Adjust the permissions of the computer file at the specified filepath. Accepted data fields:

DWAINE_COMMAND_FOWNER

Adjust the owner and group of the computer file at the specified filepath. Accepted data fields:

DWAINE_COMMAND_FWRITE

Write a provided computer file to the specified path. Accepted data fields:

DWAINE_COMMAND_MOUNT

Set up a mountpoint for a device driver. Accepted data fields:

DWAINE_COMMAND_MSG_TERM

Send a message or file to a connected terminal device. Accepted data fields:

DWAINE_COMMAND_RECVFILE

Instruct a program to receive and handle a file. No applicable data fields.

DWAINE_COMMAND_REPLY

Reply to a request for information. Has unique data fields for each implementation, depending on the data requested.

DWAINE_COMMAND_TEXIT

Instruct a program to exit the current running task. No applicable data fields.

DWAINE_COMMAND_TFORK

Run a new child task of the calling program's type. Accepted data fields:

DWAINE_COMMAND_TKILL

Terminate a child task of the calling program. Accepted data fields:

DWAINE_COMMAND_TLIST

List all child tasks of the calling program. No applicable data fields.

DWAINE_COMMAND_TSPAWN

Run a task located at a specified filepath. Accepted data fields:

DWAINE_COMMAND_UGROUP

Update the user's group. Accepted data fields:

DWAINE_COMMAND_UINPUT

Acts as an alternate path for user input. Accepted data fields:

DWAINE_COMMAND_ULIST

List all current users. No applicable data fields.

DWAINE_COMMAND_ULOGIN

Send a log in request to the kernel. Accepted data fields:

DWAINE_COMMAND_UMSG

Send message to a connected user terminal. Cannot send messages to non-user terminals. Accepted data fields: