Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

1. Commands

1M. Maintenance Commands

2. System Calls

3. Subroutines and Libraries

3C. C Library

3M. Math Library

3N. Network Support Libraries

3S. Standard I/O Library

3X. Miscellaneous Libraries

4. File Formats

5. Miscellaneous Facilities

6F. Protocol Families

7. Special Files

8. Maintenance Procedures

Manual — DG/UX 4.00

975 entries

1. Commands (intro)

acctcomsearch and print process accounting file(s)
admincreate and administer SCCS files
ararchive and library maintainer for portable archives
asassembler for DG/UX
asainterpret ASA carriage control characters
assistassistance using DG/UX system commands
astgengenerate/modify ASSIST menus or command forms
batch, atexecute DG/UX commands at a later time
attdump, att_dumpdump parts of an object, executable, or archive file
attstty, att_sttyset the options for a terminal
awkpattern scanning and processing language
bannermake posters
dirname, basenamedeliver portions of path names
at, batchexecute DG/UX commands at a later time
bcarbitrary-precision arithmetic language
bdiffbig diff
berkstty, berk_sttyset terminal options
bfsbig file scanner
calprint calendar
calendarreminder service
lp, cancelsend/cancel requests to an LP line printer
catconcatenate and type files to standard output
cbC program beautifier
ccC language compiler
cdchange working directory
cdcchange the delta commentary of an SCCS delta
cflowgenerate C flow graph
chown, chgrpchange owner or group
chmodchange mode
chgrp, chownchange owner or group
clearclear terminal screen
cmpcompare two files
colfilter reverse line-feeds
combcombine SCCS deltas
commselect or reject lines common to two sorted files
ln, mv, cpcopy, link or move files
cpiocopy file archives in and out
cppthe C language preprocessor
crontabuser crontab file in DG/UX
cryptencode/decode
csha shell (command interpreter) with C-like syntax for DG/UX
csplitcontext split
ctspawn getty to a remote terminal
ctagscreate a tags file
ctraceC program debugger
cucall another UNIX system
cutcut out selected fields of each line of a file
cxrefgenerate C program cross-reference
dateprint and set the date
dbxdebugger in DG/UX
dcdesk calculator
ddconvert and copy a file
deblockchange blocking size
deltamake a delta (change) to an SCCS file
deroffremove nroff/troff, tbl, and eqn constructs
machid, m68k, pdp11, u3b, u3b5, vax, dghostprovide truth value about your processor type
diffdifferential file comparator
diff33-way differential file comparison
dircmpdirectory comparison
basename, dirnamedeliver portions of path names
disobject code disassembler
enable, disableenable/disable LP printers
dusummarize disk usage
echoecho arguments
red, edtext editor
edittext editor (variant of ex for casual users)
grep, fgrep, egrepsearch a file for a pattern
disable, enableenable/disable LP printers
envset environment for command execution
extext editor
exprevaluate arguments as an expression
f77FORTRAN 77 language compiler in DG/UX
factorfactor a number
true, falseprovide truth values
grep, egrep, fgrepsearch a file for a pattern
filedetermine file type
findfind files
foldfold long lines for finite width output device
fsplitsplit f77 or ratfor files
getget a version of an SCCS file
getoptparse command options
getopts, getoptcvtparse command options
getoptcvt, getoptsparse command options
glossarydefinitions of common DG/UX system terms and symbols
egrep, fgrep, grepsearch a file for a pattern
spell, hashmake, spellin, hashcheckfind spelling errors
spell, spellin, hashcheck, hashmakefind spelling errors
headgive first few lines
helpDG/UX system Help Facility
idprint user and group IDs and names
introintroduction to commands and application programs
ipcrmremove message, semaphore, or shared memory id
ipcsreport inter-process communication facilities status
joinrelational database operator
killterminate a process
lastindicate last logins of users and teletypes
ldlink editor for common object files in DG/UX
lexgenerate programs for simple lexical tasks
lfdlabeled floppy diskette interface program for DG/UX
lineread one line
linta C program checker
listproduce C source listing from an object or executable file
cp, mv, lncopy, link or move files
locateidentify a DG/UX system command using keywords
loginsign on
lognameget login name
lorderfind ordering relation for an object library
cancel, lpsend/cancel requests to an LP line printer
lpstatprint LP status information
lslist contents of directory
m4macro processor
machid, dghost, pdp11, u3b, u3b5, vax, m68kprovide truth value about your processor type
dghost, m68k, pdp11, u3b, u3b5, vax, machidprovide truth value about your processor type
rmail, mailsend mail to users or read mail
mailxinteractive message processing system
makemaintain, update, and regenerate groups of programs
makekeygenerate encryption key
manprint entries from the reference manuals
mesgpermit or deny messages
mkdirmake a directory
mkstrcreate an error message file by massaging C source
page, morefile perusal filter for CRT viewing
cp, ln, mvcopy, link or move files
mxdbInvoke mxdb,a symbolic debugger
newformchange the format of a text file
newgrplog in to a new group
newsprint news items
nicerun a command at low priority
nlline numbering filter
nmprint name list of object, executable, or archive file
nohuprun a command immune to hangups and quits
odoctal dump
pcat, unpack, packcompress and expand files
more, pagefile perusal filter for CRT viewing
passwdchange login password
pastemerge lines
pcPascal language compiler in DG/UX
pack, unpack, pcatcompress and expand files
machid, dghost, m68k, u3b, u3b5, vax, pdp11provide truth value about your processor type
pgfile perusal filter for CRT terminals in DG/UX
prprint files
printenvprint out the environment
profdisplay profile data
prsprint an SCCS file
psreport process status
pwdworking directory name
ratforrational FORTRAN dialect
ed, redtext editor
regcmpregular expression compiler
resetreset the teletype bits to a sensible state
revreverse order of characters in each line of file
revisionread and/or set revision number in DG/UX
rmdir, rmremove, delete files or directories
mail, rmailsend mail to users or read mail
rmdelremove a delta from an SCCS file
rm, rmdirremove, delete files or directories
sh, rshshell, the command programming language
sactprint current SCCS file editing activity
sadpdisk access profiler
sarsystem activity reporter
sccsdiffcompare two versions of an SCCS file
sdbsymbolic debugger
sdiffside-by-side difference program
sedstream editor
rsh, shshell, the command programming language
shlshell layer manager in DG/UX
sizeprint section sizes of object, executable files, archive
sleepsuspend execution for an interval
snoSNOBOL interpreter and compiler
sortsort and/or merge files
hashmake, spellin, hashcheck, spellfind spelling errors
spell, hashmake, hashcheck, spellinfind spelling errors
splitsplit a file into pieces
starterinformation about the DG/UX system for beginning users
stringsfind the printable strings in an object or other binary file
stripstrip non-executable information from an executable file
sttyset the options for a terminal
subecome super-user or another user
sumprint checksum and block count of a file
syncupdate the super block
tabsset tabs on a terminal
taildeliver the last part of a file
tartape file archiver
teepipe fitting
testcondition evaluation command
timetime a command
timextime a command; report process data and system activity
touchupdate access and modification times of a file
tputquery terminfo database
trtranslate characters
false, trueprovide truth values
tsorttopological sort
ttyget the name of the terminal
machid, dghost, m68k, pdp11, u3b5, vax, u3bprovide truth value about your processor type
machid, dghost, m68k, pdp11, u3b, vax, u3b5provide truth value about your processor type
uldo underlining
umaskset file-creation mode mask
unameprint name of current DGUX system
ungetundo a previous get of an SCCS file
uniqreport repeated lines in a file
unitsconversion program
pack, pcat, unpackcompress and expand files
usageretrieve a command description and usage examples
uulog, uuname, uucpUNIX-to-UNIX system copy
uuencode, uudecodeencode/decode a binary file for transmission via mail
uudecode, uuencodeencode/decode a binary file for transmission via mail
uucp, uuname, uulogUNIX-to-UNIX system copy
uucp, uulog, uunameUNIX-to-UNIX system copy
uuto, uupickpublic UNIX-to-UNIX system file copy
uustatuucp status inquiry and job control
uupick, uutopublic UNIX-to-UNIX system file copy
uuxUNIX-to-UNIX system command execution
valvalidate SCCS file
machid, dghost, m68k, pdp11, u3b, u3b5, vaxprovide truth value about your processor type
vcversion control
vi, view, veditscreen-oriented (visual) display editor based on ex
vedit, view, viscreen-oriented (visual) display editor based on ex
vi, vedit, viewscreen-oriented (visual) display editor based on ex
waitawait completion of process
wcword count
whatidentify SCCS files
whereislocate source, binary, and or manual for program
whowho is on the system
writewrite to another user
xargsconstruct argument list(s) and execute command
xstrDG/UX
yaccyet another compiler-compiler

1M. Maintenance Commands (intro)

reject, acceptallow/prevent LP requests
acctdisk, acctdusg, accton, acctwtmp, acctoverview of accounting and miscellaneous accounting commands
acctcmscommand summary from per-process accounting records
acctcon1, acctcon2, acctconconnect-time accounting
acctcon2, acctcon1connect-time accounting
acctcon1, acctcon2connect-time accounting
acctdusg, accton, acctwtmp, acctdiskoverview of accounting and miscellaneous accounting commands
acctdisk, accton, acctwtmp, acctdusgoverview of accounting and miscellaneous accounting commands
acctmergmerge or add total accounting files
acctdisk, acctdusg, acctwtmp, acctonoverview of accounting and miscellaneous accounting commands
acctprc1, acctprc2, acctprcprocess accounting
acctprc2, acctprc1process accounting
acctprc1, acctprc2process accounting
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, acctshshell procedures for accounting
acctdisk, acctdusg, accton, acctwtmpoverview of accounting and miscellaneous accounting commands
captoinfoconvert a termcap description into a terminfo description
ckpacct, dodisk, lastlogin, monacct, nulladm, chargefeeshell procedures for accounting
chrootchange root directory for a command
chargefee, dodisk, lastlogin, monacct, nulladm, ckpacctshell procedures for accounting
clriclear inode
configconfigure a system
crashexamine system images
cronclock agent
devnmdevice name
dfreport number of free disk blocks
diskmanmenu interface for managing physical and logical disks
diskusggenerate disk accounting data by user id
errpt, dmesgprocess a report of logged errors
chargefee, ckpacct, lastlogin, monacct, nulladm, dodiskshell procedures for accounting
dumpincremental file system dump
dumpfsdump DG/UX file system information
ermeseditor, ermes_editorchange or add error messages in the DG/UX system
errdemonerror-logging demon
dmesg, errptprocess a report of logged errors
errstopterminate the error-logging agent
tapesave, filesavedaily/weekly DG/UX system file system backup
frecrecover files from a backup tape
fsckDG/UX file system consistency check and interactive repair
fsdbfile system debugger
fsirandinstall random inode generation numbers
fuseridentify processes using a file or file structure
wtmpfix, fwtmpmanipulate connect accounting records
gettyset terminal type, modes, speed, and line discipline
pwck, grpckpassword/group file checkers
haltstop the DG/UX System processor
helpadmmake changes to the Help Facility database
iacloadIAC loader
infocmpcompare or print out terminfo descriptions
telinit, initinitialize and control processes
installinstall commands
introprograms
killallkill all active processes
volcopy, labelitcopy file systems with label checking
chargefee, ckpacct, dodisk, monacct, nulladm, lastloginshell procedures for accounting
unlink, linkexercise link and unlink system calls
lpadminconfigure the LP spooling system
lpsched, lpshut, lpmovestart/stop the LP request scheduler and move requests
lpshut, lpmove, lpschedstart/stop the LP request scheduler and move requests
lpsched, lpmove, lpshutstart/stop the LP request scheduler and move requests
makekeygenerate encryption key
newfs, mkfscreate a file system
mknodbuild special file
chargefee, ckpacct, dodisk, lastlogin, nulladm, monacctshell procedures for accounting
umount, mountmount and dismount file systems
mvdirmove a directory
ncheckgenerate names from i-numbers
mkfs, newfscreate a file system
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladmshell procedures for accounting
portmapRPC program number to Internet port mapper
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmpshell procedures for accounting
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prdailyshell procedures for accounting
prfld, prfstat, prfsnap, prfpr, prfdcDG/UX operating system profiler
prfstat, prfdc, prfsnap, prfpr, prfldDG/UX operating system profiler
prfld, prfstat, prfdc, prfsnap, prfprDG/UX operating system profiler
prfld, prfstat, prfdc, prfpr, prfsnapDG/UX operating system profiler
prfld, prfdc, prfsnap, prfpr, prfstatDG/UX operating system profiler
prfld, prfstat, prfdc, prfsnap, prfpr, profilerDG/UX operating system profiler
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prtacctshell procedures for accounting
grpck, pwckpassword/group file checkers
rc.initexecute scripts that determine run level configuration
accept, rejectallow/prevent LP requests
renicealter priority of running processes
restoreincrementally restore a DG/UX file system
rpcinforeport RPC information
runacctrun daily accounting
sa2, sadc, sa1system activity report package
sa1, sadc, sa2system activity report package
sa1, sa2, sadcsystem activity report package
sa1, sa2, sadc, sarsystem activity report package
setmntestablish mount table
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, shutacctshell procedures for accounting
shutdownshut down system, change system state
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, startupshell procedures for accounting
swaponspecify additional DG/UX System device for paging
syncupdate the super-block
sysadmmenu-driven system administration program
sysdefoutput system definition
filesave, tapesavedaily/weekly DG/UX system file system backup
init, telinit, telninitinitialize and control processes
ticterminfo compiler
tunefstune an existing DG/UX file system
chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, turnacctshell procedures for accounting
mount, umountmount and dismount file systems
link, unlinkexercise link and unlink system calls
updateperiodically update the super-blocks of mounted file systems
uucheckcheck the uucp directories and permissions file
uucicofile transport program for the uucp system
uucleanupuucp spool directory clean-up
uugettyset terminal type, modes, speed, and line discipline
uuschedthe scheduler for the uucp file transport program
uutrytry to contact remote system with debugging on
uuxqtexecute remote command requests
vipwedit the DG/UX System password file
labelit, volcopycopy file systems with label checking
wallwrite to all users
whodowho is doing what
fwtmp, wtmpfixmanipulate connect accounting records

2. System Calls (intro)

exit, _exitTerminate process.
acceptAccept a connection on a socket.
accessDetermine the accessibility of a file.
acctEnable or disable process accounting.
alarmSet a process alarm clock.
asyncdaemon, async_daemonStarts a BIOD server for NFS client requests.
berksigpause, berk_sigpauseSet blocked signals and suspend the process
bindBind a name to a socket.
brkChange data segment space allocation.
chdirChange the working directory of the calling process.
chmodChange mode of file.
chownChange user id and group id of a file.
chrootChanges the root directory of the calling process.
closeClose an object associated with a file descriptor.
connectInitiate a connection on a socket.
creatCreate a new file or rewrite an existing one.
dgexterrno, dg_ext_errnoReturn the extended errno for the current process.
dgfileinfo, dg_file_infoReturns file usage information for a process.
dgipcinfo, dg_ipc_infoGet information about IPCs - Static and current state.
dgmstat, dg_mstatGet file status.
dgprocessinfo, dg_process_infoReturn information about currently active processes.
dgsysinfo, dg_sys_infoSupplies the caller with certain system information.
dupDuplicate an open file descriptor.
dup2Duplicate an open file descriptor onto a specific descriptor.
execlExecute a program file.
execleExecute a program file.
execvExecute a program file.
execveExecute a program file.
fchmodChange mode of file.
fchownChange user id and group id of a file.
fcntlFile descriptor control.
flockApply or remove an advisory or mandatory file lock.
forkCreate a new process.
fstatGet file status.
fstatfsGet information about a mounted file system.
fsyncSynchronize a file's in-core state with that on disk.
ftruncateTruncate a file.
getdentsGet directory entries in a filesystem-independent format.
getdirentriesGet directory entries in a file system-independent format.
getdomainnameGet name of current domain.
getdtablesizeReturn the number of open files the current process can have.
getegidGet the effective-group-id.
geteuidGet the effective-user-id.
getfhReturn the file handle associated with a file descriptor.
getgidGet the real-group-id.
getgroupsGet group access list.
gethostidGet unique identifier of current host.
gethostnameGet name of current host.
getitimergetitimer gets the current state of one of the interval timers.
getpagesizeGet the system page size.
getpeernameGet name of connected peer.
getpgrpGet process group.
getpidGet process-id.
getppidGet parent process-id.
getpriorityGet process scheduling priority.
getrlimitGet system resource consumption limits.
getrusageGet information about resource utilization.
getsocknameGet socket name.
getsockoptGet options on a socket.
gettimeofdayGet date and time.
getuidGet the real-user-id.
introintroduction to system calls and error numbers
ioctlControl device.
killSend a signal to a process or a group of processes.
killpgSend signal to a process or a process group.
linkCreate a new link to a file.
listenListen for connections on a socket.
lockfApply or remove an advisory or mandatory file lock.
lseekChange object pointer's current position.
lstatGet file status.
mkdirCreate a directory file.
mknodMake a directory, or a special or ordinary file.
mountMount a file system.
msgctlGet or set message queue attributes or destroy a message queue.
msggetGet message queue identifier.
msgrcvReceive a message.
msgsndSend a message.
nfsmountMount a remote file system.
nfssvcStart an NFS daemon on the socket identified by <socket>.
niceChange priority of a process.
openOpen for reading or writing.
pauseSuspend process until a signal is caught.
pipeCreate an interprocess channel.
plockLock data, text, or both into memory.
profilSet up execution time profiling for this process.
ptraceProcess trace.
readRead from an object.
readlinkRead the contents of a symbolic link.
readvRead from file.
rebootReboot halts the system processor(s).
recvReceive a message from a socket.
recvfromReceive a message from a socket.
recvmsgReceive a message from a socket.
renameChange the name of a file.
rmdirRemove a directory file.
sbrkChange data segment space allocation.
selectWait for I/O conditions.
semctlSemaphore control operations.
semgetGet set of semaphores.
semopSemaphore operations.
sendSend a message from a socket.
sendmsgSend a message from a socket.
sendtoSend a message from a socket.
setdomainnameSet name of current domain.
setgidSet the real-, effective-, and saved-group-ids.
setgroupsSet group access list.
sethostidSet unique identifier of current host.
sethostnameSet name of current host.
setitimerSet one of the interval timers.
setpgrpSet process-group-id.
setprioritySet process scheduling priority.
setregidSet the real-, effective-, and saved-group-ids.
setreuidSet the real-, effective-, and saved-user-ids.
setrlimitSet system resource consumption limits.
setsockoptSet options on sockets.
settimeofdaySet date and time.
setuidSet the real-, effective-, and saved-user-ids.
shmatAttach a shared memory segment.
shmctlShared memory control operations.
shmdtDetach a shared memory segment.
shmgetGet shared memory segment.
shutdownShut down part of a full-duplex connection.
sigblockAdd to set of blocked signals.
sigholdAdd a signal to the calling process's set of blocked signals.
sigignoreSet the signal action of a signal to 'ignore'.
signalSpecify what to do upon presentation of a signal.
sigpauseClear a blocked signal and suspend the process
sigrelseRemove a signal from the calling process's blocked signals.
sigreturnRestore the signal state.
sigsetSpecify what to do upon presentation of a signal.
sigsetmaskSpecify set of blocked signals.
sigstackSet and/or get signal stack context.
sigvecSpecify what to do upon presentation of a signal.
socketCreate an endpoint for communication.
socketpairCreate a pair of connected sockets.
statGet file status.
statfsGet information about a mounted file system.
stimeSet time.
swaponAdd a swap device for interleaved paging/swapping.
symlinkCreate a symbolic link file.
syncSynchronize disk and memory resident file system information.
timeGet time.
timesGet process and child process times.
truncateTruncate a file to a specified length.
ulimitGet and set user limits.
umaskSet and get file creation mask.
umountRemove a file system device.
unameGet name of current UNIX system.
unlinkRemove a directory entry.
ustatGet file system device statistics.
utimeSet file access and modification times.
utimesSet file access and modification times.
vforkSpawn new process in a virtual memory efficient way.
vhangupVirtually hang up the current control terminal.
waitWait for child process to stop or terminate.
wait3Wait for child process to stop or terminate.
writeWrite to an object.
writevWrite on a file.
xtraceExtended process trace.

3. Subroutines and Libraries (intro)

l64a, a64lconvert between long integer and base-64 ASCII string
berkregex, regex, recomp, reexec, berk_regexregular expression handler in DG/UX
berksignal, signal, berk_signalsimplified software signal facilities in DG/UX
erand48, lrand48, nrand48, mrand48, drand48generate uniformly distributed pseudo-random numbers
fcvt, gcvt, ecvtconvert floating-point number to string
getfsent, getfsspec, getfsfile, getfstype, endfsentget filesystem descriptor file entry
getgrent, getgrgid, getgrnam, setgrent, endgrentget group file entry
getpwent, getpwuid, getpwnam, setpwent, endpwentget password file entry
getutent, getutid, getutline, pututline, setutent, endutentaccess utmp file entry
drand48, lrand48, nrand48, mrand48, erand48generate uniformly distributed pseudo-random numbers
ecvt, gcvt, fcvtconvert floating-point number to string
getgrent, getgrgid, getgrnam, setgrent, endgrent, fgetgrentget group file entry
getpwent, getpwuid, getpwnam, setpwent, endpwent, fgetpwentget password file entry
ftwwalk a file tree
ecvt, fcvt, gcvtconvert floating-point number to string
getfsspec, getfsfile, getfstype, getfsentget filesystem descriptor file entry
getfsent, getfsspec, getfstype, getfsfileget filesystem descriptor file entry
getfsent, getfsfile, getfstype, getfsspecget filesystem descriptor file entry
getfsent, getfsspec, getfsfile, getfstypeget filesystem descriptor file entry
getgrgid, getgrnam, setgrent, endgrent, getgrentget group file entry
getgrent, getgrnam, setgrent, endgrent, getgrgidget group file entry
getgrent, getgrgid, setgrent, endgrent, getgrnamget group file entry
getoptget option letter from argument vector
getpassread a password
getpwget name from UID
getpwuid, getpwnam, setpwent, endpwent, getpwentget password file entry
getpwent, getpwuid, setpwent, endpwent, getpwnamget password file entry
getpwent, getpwnam, setpwent, endpwent, getpwuidget password file entry
getutent, getutid, getutline, pututline, setutent, getutaccess utmp file entry
getutid, getutline, pututline, setutent, getutentaccess utmp file entry
getutent, getutline, pututline, setutent, getutidaccess utmp file entry
getutent, getutid, pututline, setutent, getutlineaccess utmp file entry
getwdget current working directory pathname
hsearch, hdestroy, hcreatemanage hash search tables
hsearch, hcreate, hdestroymanage hash search tables
hcreate, hdestroy, hsearchmanage hash search tables
introintroduction to subroutines and libraries
jobssummary of job control facilities in DG/UX
drand48, erand48, lrand48, nrand48, mrand48, jrand48generate uniformly distributed pseudo-random numbers
ltol3, l3tolconvert between 3-byte integers and long integers
a64l, l64aconvert between long integer and base-64 ASCII string
drand48, erand48, lrand48, nrand48, mrand48, lcong48generate uniformly distributed pseudo-random numbers
lsearch, lfindlinear search and update
drand48, erand48, nrand48, mrand48, lrand48generate uniformly distributed pseudo-random numbers
lfind, lsearchlinear search and update
l3tol, ltol3convert between 3-byte integers and long integers
drand48, erand48, lrand48, nrand48, mrand48generate uniformly distributed pseudo-random numbers
nlistget entries from name list
drand48, erand48, lrand48, mrand48, nrand48generate uniformly distributed pseudo-random numbers
putenvchange or add value to environment
putpwentwrite password file entry in DG/UX
getutent, getutid, getutline, setutent, pututlineaccess utmp file entry
berkregex, regex, recomp, reexec, re_compregular expression handler in DG/UX
berkregex, regex, recomp, reexec, re_execregular expression handler in DG/UX
berkregex, recomp, reexec, regexregular expression handler in DG/UX
drand48, erand48, lrand48, nrand48, mrand48, seed48generate uniformly distributed pseudo-random numbers
getfsent, getfsspec, getfsfile, getfstype, setfsentget filesystem descriptor file entry
getgrent, getgrgid, getgrnam, endgrent, setgrentget group file entry
getpwent, getpwuid, getpwnam, endpwent, setpwentget password file entry
getutent, getutid, getutline, pututline, setutentaccess utmp file entry
berksignal, signalsimplified software signal facilities in DG/UX
drand48, erand48, lrand48, nrand48, mrand48, srand48generate uniformly distributed pseudo-random numbers
gsignal, ssignalsoftware signals
tsearch, tfind, twalk, tdeletemanage binary search trees
tsearch, tdelete, twalk, tfindmanage binary search trees
tfind, tdelete, twalk, tsearchmanage binary search trees
tsearch, tfind, tdelete, twalkmanage binary search trees
getutent, getutid, getutline, pututline, setutent, utmpnameaccess utmp file entry
vallocaligned memory allocator in DG/UX

3C. C Library (index)

cleanup, _cleanupFlush the standard I/O buffers.
toupper, tolower, toupper, tolower, toascii, _tolowertranslate characters
toupper, tolower, toupper, tolower, toascii, _touppertranslate characters
abortAbort the user program immediately.
absReturn the absolute value of an integer.
sin, cos, tan, asin, atan, atan2, acostrigonometric functions
allocAllocate a block of memory.
allocaAllocate additional memory from the stack.
anyDetermine if a string contains a specific character.
ctime, localtime, gmtime, tzset, asctimeconvert date and time to string
sin, cos, tan, acos, atan, atan2, asintrigonometric functions
assertProvide runtime assertions.
sin, cos, tan, asin, acos, atan2, atantrigonometric functions
sin, cos, tan, asin, acos, atan, atan2trigonometric functions
atofConvert an ASCII string into a floating-point number.
atoiConvert an ASCII string to type int.
atolConvert an ASCII string to type long.
atouConvert an ASCII character string to an unsignedinteger.
bcmpCompare two areas of memory.
bcopyCopy bytes from one area to another.
bitsetSet a bit to either 0 or 1.
bitszboSet a bit to 1 and return the bit's previous value.
bitvalueReturn the current value of a bit.
blockmoveMove bytes from one location in memory to another.
bsearchSearch an array.
bzeroZero a portion of memory.
callocAllocate blocks of memory and fill them with zeros.
ceilReturn the ceiling of a number.
clearerrClear any error indication on a file.
clockreport CPU time used
toupper, tolower, toupper, tolower, toascii, convtranslate characters
sin, tan, asin, acos, atan, atan2, costrigonometric functions
coshReturn the hyperbolic cosine of a number.
localtime, gmtime, asctime, tzset, ctimeconvert date and time to string
isalpha, isupper, islower, isdigit, isxdigit, isalnum, ctypeclassify characters
dgabort, dg_abortAbort the user program immediately.
dgfgets, dg_fgetsRead a line from a file into a character buffer.
dgrand, dg_randGenerate and return a random number in the range 0 to 32767.
dgrand1, dg_rand1Generate and return a random number in the range 0 to 1.
dgsrand, dg_srandSpecify starting number for the dg_rand and dg_rand1 functions.
end, etext, edatalast locations in program
etext, edata, endlast locations in program
equalDetermine if two strings are equal.
end, edata, etextlast locations in program
exitFlush buffers and terminate the process normally.
expReturn the value of e raised to a given power.
extendedperror, extended_perrorPrint an error message on stderr.
fabsDetermine the absolute value of a floating-point number.
fcloseClose a specified file.
fdopenAssociate a buffered I/O stream with a DG/UX file descriptor.
feofDetermine if you have reached the end of a file.
ferrorDetermine if an error occurred during I/O.
fflushFlush the output buffer of the specified stream.
ffsReturn the first bit in an integer that is one.
fgetcRead a character from a specified file.
fgetsRead a string from a specified file.
filenoReturn the UNIX file number of the specified open file.
flockapply or remove an advisory lock on an open file in DG/UX
floorDetermine the floor of a number.
fmaxDetermine the maximum value of two floating-point numbers.
fminDetermine the minimum value of twofloating-point numbers.
fmodReturn the modulus of two arguments.
fopenOpen a file.
fprintfPerform a formatted write to a file.
fputcWrite a character to the specified stream.
fputsWrite a string to a specified file.
freadRead a number of records from a file.
freeRelease allocated memory.
freopenClose a stream and reopen a file or device.
frexpReturn the mantissa of a number of type double.
fscanfPerform a formatted read from a file.
fseekPosition a file to a specified byte.
ftellReturn the current byte position in a file.
ftimeget date and time
ftoaConvert a floating-point number to a string.
fwriteWrite a number of records to a specified file.
getcRead a single character from an input stream.
getcharRead a single character from the standard input.
getcwdget pathname of current working directory
getenvReturn a pointer to environment variables.
getfpReturn the current frame pointer of theparent's environment.
getloginReturn a byte pointer to the username.
getsRead from the standard input file until encountering anew line.
getsbReturn the current stack base pointer.
getslReturn the current stack limit pointer.
getspReturn the current stack pointer.
getwRead an integer value from the input buffer.
ctime, localtime, asctime, tzset, gmtimeconvert date and time to string
hypotDetermine the hypotenuse of a right triangle.
indexSearch for the first occurrence of a character in astring.
initstateInitialize array for random number generation.
insertafter, insert_afterInsert an element into a queue after another queue element.
insertbefore, insert_beforeInsert an element into a queue before another queue element.
inserthead, insert_headInsert an element at the head of a queue.
inserttail, insert_tailInsert an element at the tail of a queue.
insqueAdd an element to a circular queue.
intsoDetermine if the standard output file is a terminal.
intssDetermine if the standard input file is a terminal.
isalpha, isupper, islower, isdigit, isxdigit, isalnumclassify characters
isupper, islower, isdigit, isxdigit, isalnum, isalphaclassify characters
isalphanumDetermine if a character is alphanumeric.
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isasciiclassify characters
ttyname, isattyfind name of a terminal
isalpha, isupper, islower, isdigit, isxdigit, isalnum, iscntrlclassify characters
isalpha, isupper, islower, isxdigit, isalnum, isdigitclassify characters
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isgraphclassify characters
ishexDetermine if a character is hexadecimal.
islineDetermine if a character is a line terminator.
isalpha, isupper, isdigit, isxdigit, isalnum, islowerclassify characters
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isprintclassify characters
isalpha, isupper, islower, isdigit, isxdigit, isalnum, ispunctclassify characters
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspaceclassify characters
isalpha, islower, isdigit, isxdigit, isalnum, isupperclassify characters
isalpha, isupper, islower, isdigit, isalnum, isxdigitclassify characters
itoaConvert an integer to a character string.
lasterrorReturn the code for the most recent error.
lcpidReturn the CPU model number.
ldexpMultiply a value by 2 to a specified power.
ctime, gmtime, asctime, tzset, localtimeconvert date and time to string
lockfrecord locking on files
logDetermine the natural logarithm of a number.
log10Determine the base 10 logarithm of a number.
longjmpPerform a nonlocal jump in the flow of control.
mainEnter a C main program.
mallocAllocate blocks of memory.
matherrDetermine if errors occurred during a math routine.
maxReturn the maximum value of two integers.
memchr, memcmp, memcpy, memset, memccpymemory operations
memccpy, memcmp, memcpy, memset, memchrmemory operations
memccpy, memchr, memcpy, memset, memcmpmemory operations
memccpy, memchr, memcmp, memset, memcpymemory operations
memccpy, memchr, memcmp, memcpy, memset, memorymemory operations
memccpy, memchr, memcmp, memcpy, memsetmemory operations
minReturn the minimum value of two integers.
mktempReturn an unused temporary filename.
modfportion.
monitorprepare execution profile
nargsReturn the number of arguments for the executing routine.
otoaConvert an integer to an octal character string.
perrorPrint a string and the last error message.
powRaise the first argument to the power of the second argument.
printfPerform a formatted write to standard output.
putcWrite a character to a given file.
putcharWrite a character to the standard output.
putsWrite to the standard output file until encountering a null byte.
putwWrite an integer value to the output buffer.
qsearchSearch a queue for an element meeting a given condition.
qsortSort an array of items.
randGenerate and return a random number in the range 0 to 32767.
randomGenerate and return a random number.
reallocChange the size of a previously allocated area.
removeelement, remove_elementDelete an element from a queue.
removehead, remove_headDelete an element from the head of a queue.
removetail, remove_tailDelete an element from the tail of a queue.
remqueRemove an element from a circular queue.
repeatReplicate a string within a character array.
rewindReposition a file to its beginning.
rindexSearch for the last occurrence of a character in a string.
scale10Multiply a number by a power of 10.
scanfPerform a formatted read from standard input.
setbufAssign a buffer to a specified file.
setbufferAssign a buffer to a specified file.
setjmpProvide for nonlocal flow of control.
setlinebufAssign line buffering for a specified file.
setstateChange random number generation.
setvbufAssign a buffer to a specified file.
signcmpCompare successive character values in two strings.
signncmpCompare successive character values of two strings.
cos, tan, asin, acos, atan, atan2, sintrigonometric functions
sinhDetermine the hyperbolic sine of a number.
sleepDelay a task for a given number of seconds.
sprintfPerform a formatted write to an internal string.
sqrtReturn the square root of a number.
srandSpecify a number from which to start random number generation.
srandomSpecify a number with which to start random number generation.
sscanfPerform a formatted read from an internal string.
ftok, stdipcstandard interprocess communication package
strncat, strcmp, strncmp, strcpy, strncpy, strlen, strcatstring operations
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strchrstring operations
strcat, strncat, strncmp, strcpy, strncpy, strlen, strcmpstring operations
strcat, strncat, strcmp, strncmp, strncpy, strlen, strcpystring operations
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strcspnstring operations
strdupCopy a string to an allocated area of memory.
strerrorReturn a string corresponding to an error code.
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, stringstring operations
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlenstring operations
strcat, strcmp, strncmp, strcpy, strncpy, strlen, strncatstring operations
strcat, strncat, strcmp, strcpy, strncpy, strlen, strncmpstring operations
strcat, strncat, strcmp, strncmp, strcpy, strlen, strncpystring operations
strnsaveAllocate an area large enough to hold a string.
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strpbrkstring operations
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strrchrstring operations
strsaveAllocate an area large enough to hold a string.
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strspnstring operations
strtodConvert a string to a double-precision floating-point number.
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, strtokstring operations
strtolConvert a string to a long integer.
swabSwap the bytes within each pair of bytes in a string.
tailReturn a pointer to the null byte within a string.
sin, cos, asin, acos, atan, atan2, tantrigonometric functions
tanhDetermine the hyperbolic tangent of a number.
tmpnam, tempnamReturn a pointer to a temporary filename.
tmpfileCreate and open a temporary file.
tmpnamReturn a pointer to a temporary filename.
toupper, tolower, toupper, tolower, toasciitranslate characters
toupper, toupper, toascii, tolowertranslate characters
tolower, tolower, toascii, touppertranslate characters
tracebackPrint a stack traceback and continue.
sin, cos, tan, asin, acos, atan, atan2, trigtrigonometric functions
isatty, ttynamefind name of a terminal
ttyslotfind the slot in the utmp file of the current user
ctime, localtime, gmtime, asctime, tzsetconvert date and time to string
ungetcReturn a character to the input buffer.
utoaConvert an unsigned integer to a character string.
verifyother.
vfprintfPrint a variable argument list to a given file.
vlimitcontrol maximum system resource consumption
vprintfPrint a variable argument list to the standard output file.
vsprintfPrint a variable argument list to a memory array.
vtimesget information about resource usage
wdlengReturn the word length in bits of the type int.
zeroFill a section of memory with zeros.
zeropadSubstitute zeros for leading spaces.

3M. Math Library

j0, j1, jn, y0, y1, yn, besselBessel functions
erfc, erferror function and complementary error function
erf, erfcerror function and complementary error function
gammalog gamma function
j1, jn, y0, y1, yn, j0Bessel functions
j0, jn, y0, y1, yn, j1Bessel functions
j0, j1, y0, y1, yn, jnBessel functions
j0, j1, jn, y1, yn, y0Bessel functions
j0, j1, jn, y0, yn, y1Bessel functions
j0, j1, jn, y0, y1, ynBessel functions

3N. Network Support Libraries

htonl, htons, ntohl, ntohs, byteorderconvert values between host and network byte order
gethostent, gethostbyaddr, endhostentget network host entry
getnetent, getnetbyaddr, endnetentget network entry
getprotoent, getprotobynumber, endprotoentget protocol entry
getservent, getservbyport, endserventget service entry
gethostent, gethostbyaddrget network host entry
gethostent, gethostbyaddr, gethostbynameget network host entry
gethostbyaddr, gethostentget network host entry
getnetent, getnetbyaddrget network entry
getnetent, getnetbyaddr, getnetbynameget network entry
getnetbyaddr, getnetentget network entry
getprotoent, getprotobynumber, getprotobynameget protocol entry
getprotoent, getprotobynumberget protocol entry
getprotobynumber, getprotoentget protocol entry
getservent, getservbyport, getservbynameget service entry
getservent, getservbyportget service entry
getservbyport, getserventget service entry
htons, ntohl, ntohs, htonlconvert values between host and network byte order
htonl, ntohl, ntohs, htonsconvert values between host and network byte order
inetaddr, inetnetwork, inetntoa, inetInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_addrInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_lnaofInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_makeaddrInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_netofInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_networkInternet address manipulation routines
inetaddr, inetnetwork, inetntoa, inet_ntoaInternet address manipulation routines
htonl, htons, ntohs, ntohlconvert values between host and network byte order
htonl, htons, ntohl, ntohsconvert values between host and network byte order
gethostent, gethostbyaddr, sethostentget network host entry
getnetent, getnetbyaddr, setnetentget network entry
getprotoent, getprotobynumber, setprotoentget protocol entry
getservent, getservbyport, setserventget service entry

3S. Standard I/O Library

ctermidgenerate filename for terminal
cuseridget character login name of the user
popen, pcloseinitiate pipe to/from a process
pclose, popeninitiate pipe to/from a process
stdiostandard buffered input/output package
systemissue a shell command

3X. Miscellaneous Libraries

assertverify program assertion
malloc, free, realloc, mallopt, mallinfo, callocfast main memory allocator
directory: opendir, readdir, telldir, seekdir, closedirdirectory operations
cryptpassword and file encryption functions
cursesterminal screen handling and optimization package
dbminit, fetch, store, delete, firstkey, nextkey, dbmdatabase subroutines in DG/UX
fetch, store, delete, firstkey, nextkey, dbminitdatabase subroutines in DG/UX
dbminit, fetch, store, firstkey, nextkey, deletedatabase subroutines in DG/UX
directory: opendir, readdir, telldir, seekdir, directorydirectory operations
dbminit, store, delete, firstkey, nextkey, fetchdatabase subroutines in DG/UX
dbminit, fetch, store, delete, nextkey, firstkeydatabase subroutines in DG/UX
malloc, realloc, calloc, mallopt, mallinfo, freefast main memory allocator
ldclose, ldacloseclose an executable file in DG/UX
ldahreadRead the archive header of a member of an archive file
ldopen, ldaopenopen an executable file for reading in DG/UX
ldaclose, ldcloseclose an executable file in DG/UX
ldfhreadread the file header of an executable file in DG/UX
ldgetnameretrieve symbol name for executable file symbol table entry in
ldohseekseek to the system header of an executable file in DG/UX
ldaopen, ldopenopen an executable file for reading in DG/UX
ldshreadread an indexed section header of an executable file in DG/UX
ldsseekseek to an indexed section of an executable file in DG/UX
ldsyshreadread the system header of an executable file in DG/UX
ldtbindexcompute index of symbol table entry of an executable file.
ldtbreadread an indexed symbol table entry of an executable file
ldtbseekseek to the symbol table of an executable file in DG/UX
lognamereturn login name of user
malloc, free, realloc, calloc, mallopt, mallinfofast main memory allocator
free, realloc, calloc, mallopt, mallinfo, mallocfast main memory allocator
malloc, free, realloc, calloc, mallinfo, malloptfast main memory allocator
dbminit, fetch, store, delete, firstkey, nextkeydatabase subroutines in DG/UX
directory: opendir, readdir, telldir, seekdir, opendirdirectory operations
rresvport, ruserok, rcmdroutines for returning a stream to a remote command
directory: opendir, telldir, seekdir, readdirdirectory operations
malloc, free, calloc, mallopt, mallinfo, reallocfast main memory allocator
regex, regcmpcompile and execute regular expression
regcmp, regexcompile and execute regular expression
directory: opendir, readdir, telldir, seekdir, rewinddirdirectory operations
rexecreturn stream to a remote command
rcmd, ruserok, rresvportroutines for returning a stream to a remote command
rcmd, rresvport, ruserokroutines for returning a stream to a remote command
directory: opendir, readdir, telldir, seekdirdirectory operations
sputl, sgetlaccess long integer data in a machine-independent fashion
sgetl, sputlaccess long integer data in a machine-independent fashion
dbminit, fetch, delete, firstkey, nextkey, storedatabase subroutines in DG/UX
directory: opendir, readdir, seekdir, telldirdirectory operations
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs, termcapterminal independent operation routines
tgetnum, tgetflag, tgetstr, tgoto, tputs, tgetentterminal independent operation routines
tgetent, tgetnum, tgetstr, tgoto, tputs, tgetflagterminal independent operation routines
tgetent, tgetflag, tgetstr, tgoto, tputs, tgetnumterminal independent operation routines
tgetent, tgetnum, tgetflag, tgoto, tputs, tgetstrterminal independent operation routines
tgetent, tgetnum, tgetflag, tgetstr, tputs, tgototerminal independent operation routines
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputsterminal independent operation routines

4. File Formats (intro)

a.outlink editor output in DG/UX
acctper-process accounting file format
arcommon archive file format in DG/UX
checklistlist of file systems processed by fsck
coreformat of core image file
cpioformat of cpio archive
direntfile system independent directory entry
filehdrfile header for executable files in DG/UX
fspecformat specification in text files
fstabstatic information about file systems
gettydefsspeed and terminal settings used by getty
groupgroup file
/etc/iactab, iactabIAC image table
inittabscript for the init process
introintroduction to file formats
issueissue identification file
ldfcnexecutable file access routines in DG/UX
limitsfile header for implementation-specific constants
masterinformation
mnttabmounted file system table in DG/UX
passwdpassword file
profilesetting up an environment at login time
sccsfileformat of SCCS file
symsexecutable file symbol table format in DG/UX
systemformat of DGC Eclipse MV/ computer system description file
terminfo (4), terminfoterminal capability database
wtmp, utmputmp and wtmp entry formats
utmp, wtmputmp and wtmp entry formats

5. Miscellaneous Facilities (intro)

asciimap of ASCII character set
disktabdisk description file
environuser environment
fcntlfile control options
hierDG/UX file system hierarchy
introintroduction to miscellany
mathmath functions and constants
profprofile within a function
regexpregular expression compile and match routines
statdata returned by stat system call
termconventional names for terminals
termcapterminal capability data base
typesprimitive system data types
valuesmachine-dependent values
varargshandle variable argument list

6F. Protocol Families

unixipc, unix_ipcpiping communications within a host in DG/UX

7. Special Files (intro)

bmd(bit mapped display) DS/7000 series graphics display interface
conEclipse MV/family physical console
devttycontrol terminal pseudo-device
dpfEclipse MV/family disk subsystem
dpjEclipse MV/family disk subsystem
dskblock special disk interface
errerror-logging interface
gdcEclipse MV/family graphics display controller
iacEclipse MV/family intelligent asynchronous controller
introintroduction to DG/UX System special files
kmemkernel logical memory
lpj, lpEclipse MV/family line printer special files
lp, lpjEclipse MV/family line printer special files
memmain system memory
modemapmapping of AT&T and Berkeley terminal modes
mtblock special magnetic tape interface
mtc, mtd, mtbEclipse MV/family tape subsystem
mtb, mtd, mtcEclipse MV/family tape subsystem
mtb, mtc, mtdEclipse MV/family tape subsystem
mtjEclipse MV/family tape subsystem
prf, new_prfDG/UX operating system profiler
nullthe null file
odrtasynchronous terminal I/O device
prfDG/UX operating system profiler
pty, pts, ptcpseudo-terminal master/slave pseudo-device pair
pty, ptc, ptspseudo-terminal master/slave pseudo-device pair
pts, ptc, ptypseudo-terminal master/slave pseudo-device pair
rdskcharacter special disk interface
rmtcharacter special magnetic tape interface
sysconDG/UX operating system console pseudo-device
termioAT&T terminal interface
ttyBSD terminal interface

8. Maintenance Procedures (intro)

crashwhat to do when the DG/UX System crashes
introintroduction to system maintenance procedures
mkhow to remake the DG/UX System and commands

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026