programming and posix

2/22/01


Click here to start


Table of Contents

programming and posix

contents

getting started

the hierarchical file system (hfs)

working with files - a review

organizing files with directories - a review

file and directory security

permission mode bits

file security example

vi editor

vi command quick reference

vi command quick reference (cont.)

compiling - gcc vs. c89

a simple program and a cgi program

a simple program - 1

a simple program - 2

a cgi program - 1

a cgi program - 2

a cgi program - 3

creating an nmrl archive library - 1

creating an nmrl archive library - 2

creating an nmxl shared library

linking with system libraries

linking with libraries - syntax

gcc vs. ld for linking

make utility

posix api topics

program parameters

environment variables

environment variables - reading

environment variables - writing

file management

file management - open()/close()

file management - read()/write()

file management - lseek()

file management - stat()

file management - dup()/dup2()

file management - fcntl()

process management - fork() - 1

process management - fork() - 2

process management - exec()

process management - execl()

process management - getpid()/getppid()

user management - getuid()/setuid()

user management - getpwnam()/getpwuid()

group management - getgid()/setgid()

group management - getgrgid()/getgrnam()

interprocess communication (ipc)

interprocess communication - pipes

pipes the easy popen() way

pipes the hard pipe() way

sockets

sockets - server example

sockets - client example

inetd socket applications

signals

signals - kill

error handling

miscellaneous - system()

mpe intrinsics vs. posix functions

mpe intrinsics vs. posix functions (cont.)

additional programming topics

debugging your application - 1

debugging your application - 2

diff and patch commands

shell programming

shell interpreters

posix shell command syntax

posix shell flow of control

posix shell flow of control (cont.)

posix shell flow of control (cont.)

posix shell functions

posix shell variables and arrays

posix shell parameters

posix shell command substitution

posix shell file/directory substitution

posix shell i/o redirection

posix shell escaping and quoting

posix shell callci command

posix shell test command

regular expressions (regexp)

awk programming - /bin/awk

potential posix security pitfalls

development tools

gnu tools

porting wrappers

error handling with mpe intrinsics

additional resources

additional resources (cont.)

additional resources (cont.)

join the hp3000-l community!

Author: Mark Bixby

Email: mark_bixby@hp.com

Download presentation source