sys-werrstr man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SYS-WERRSTR(2)							SYS-WERRSTR(2)

NAME
       werrstr - set the system error string

SYNOPSIS
       include "sys.m";
       sys := load Sys Sys->PATH;

       werrstr(s: string): int;

DESCRIPTION
       When  a	system	call  fails,  it returns an error value (often -1) and
       records a string describing the error in a per-process  location.   The
       verb  r	in  sys-print(2)  outputs  the error string.  Werrstr sets the
       process's error string to s, to allow a function in a module  to	 mimic
       the error reporting interface of a system call.

SEE ALSO
       sys-intro(2), sys-print(2)

								SYS-WERRSTR(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net