XENIX Lisa 2 Programmers Reference
XENIX Lisa 2 Programmers Reference
Lisa · PDF
| Filename | XENIX_Lisa_2_Programmers_Reference.pdf |
|---|---|
| Size | 6.53 MB |
| Subsection | xenix |
| Downloads | 1 |
Contents
The XENIX™
Development System
Programmer's Reference
TM
for the Apple Lisa 2
The Santa Cruz Operation, Inc.
Contents
1
1.1
1.2
1.3
1.4
2
2.1
2.2
2.3
2.4
2.5
2.6
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
4
4.1
4.2
4.3
5
5.1
5.2
5.3
5.4
. 5.5
5.6
5.7
Introduction
Overview I-I
UsingtheCLibraryFunctions 1-1
UsingThisManual I-I
NotationalConventions 1-2
UsingTheStandanlVO Fuuctious
Introduction 2-1
UsingCommandLineArguments 2-2
UsingtheStandardFiles 2-4
UsingtheStreamFunctions 2-12
UsingMoreStreamFunctions 2-24
UsingtheLow-LevelFunctions 2-28
SaeenProcessing
Introduction 3-1
Preparingfortbe ScreenFunctions 3-3
UsingtheStandardScreen 3-6
Creating and Using Windows 3-13
UsingOtherWindowFunctions 3-24
CombiningMovem.entwithAction 3-28
Controlling the Terminal 3-29
CharaderandStringProcessing
Introduction 4-1
UsingtheCharacterFunctions 4-1
UsingtheStringFunctions 4-7
UsingProcessControl
Introduction 5-1
UsingProcesses 5-1
CallingaProgram 5-1
StoppingaProgram 5-2
OverlayingaProgram 5-3
ExecutingaProgramThroughaSheU 5-5
DuplicatingaProcess 5-5
AppeDdixB
B.l
B.2
B.3
B.3
B.4
B.S
B.6
XENIXSystemCaDs
Introduction B-1
RevisedSystemCaUs B-1
Version 7 Additions B-1
OlangestotheioctlFunction B-2
UsingthemountandchownFunctions B-2
Super-BlockFormat B-2
SepameVersionLibraries B-3
Chapter 1
Introd uction
1.1 Overview 1-1
1.2 Using the C Library Functions 1-1
1.3 Using Tbis Manual
1-1
1.4 Notational Conventions 1-2
Introd uction
1.1 Overview
This manual explains how to use the functions given in the C language libraries
of the XENIX system. In particular, it describes the functions of two C language
libraries: the standard C library, and the screen updating and cursor
movement library cur'eI.
The C library functions may be called by any program that needs the resources
of the XENIX system to perform a task. The functions let programs read and
write to files in the XENIX file system, read and write to devices such as
terminals and lineprinters, load and execute other programs, receive a.nd
process signals, communicate with other programs through pipes, share system
resources, a.nd process errors.
1.2 Using the C Library Functions
To use the C library functions you must include the proper function call and
definitions in the program and specify the corresponding library is given when
the program is compiled. The standard C libra.ry, contained in the file libe./I, is
automatically specified when you compile a C language program. Other
libraries, including the screen updating and cursor movement library
contained in the file libcur,e •. a, must be explicitly specified when you compile a
program with the -I option of the cc command (see Chapter 2, "Cc: a. C
Compiler" in theXENIX Programmer" Guide).
1.3 Using This Manual
This manual is intended to be used in conjunction with section S of the XENIX
Reference Manual. If you have never used the C library functions before, read
this manual first, then refer to the Reference Manual to learn about other
functions. If…
Showing first 3,000 characters of 331,266 total. Open the full document →