icon Top 9 categories map      RocketAware > man pages >

syscall(2)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others



SYSCALL(2)                OpenBSD Programmer's Manual               SYSCALL(2)

NAME
     syscall, __syscall - indirect system call



SYNOPSIS
     #include <sys/syscall.h>
     #include <unistd.h>

     int
     syscall(int number, ...);

     int
     __syscall(quad_t number, ...);

DESCRIPTION
     syscall() performs the system call whose assembly language interface has
     the specified number with the specified arguments.  Symbolic constants
     for system calls can be found in the header file <sys/syscall.h>. The
     __syscall form should be used when one or more of the parameters is a
     64-bit argument to ensure that argument alignment is correct.  This sys-
     tem call is useful for testing new system calls that do not have entries
     in the C library.

RETURN VALUES
     The return values are defined by the system call being invoked.  In gen-
     eral, a 0 return value indicates success.  A -1 return value indicates an
     error, and an error code is stored in errno.

BUGS
     There is no way to simulate system calls that have multiple return values
     such as pipe(2).

HISTORY
     The syscall() function call appeared in 4.0BSD.

OpenBSD 2.6                      June 16, 1993                               1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]


[Overview Topics]

Up to: Current Process Control - control of the currently running process, longjmp, wait, sleep, argument processing


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > syscall.2/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments