Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

error_c_text(3ncs) [ultrix man page]

error_c_text(3ncs)														error_c_text(3ncs)

Name
       error_c_text - return an error message for a status code

Syntax
       void error_$c_text(status, message, messagemax)
       status_$t status;
       char *message;
       int messagemax;

Arguments
       status	      A status code in status_$t format.

       message	      A character string.  The error message represented by the status code.

       messagemax     The maximum number of bytes to be returned in message.

Description
       The  routine  returns a null terminated error message for reporting the completion status of a routine.	The error message is composed from
       predefined text strings that describe the subsystem, the module, and the error represented by the status  code.	 See  the  reference  page
       which lists all of the possible diagnostics that could be returned in

Files
See Also
       intro(3ncs)

																error_c_text(3ncs)

Check Out this Related Man Page

rrpc_shutdown(3ncs)													       rrpc_shutdown(3ncs)

Name
       rrpc_shutdown - shut down a server

Syntax
       #include <idl/c/rrpc.h>

       void rrpc_$shutdown(handle, status)
       handle_t handle;
       status_$t *status;

Arguments
       handle A remote procedure call (RPC) handle.

       status The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was success-
	      ful.

Description
       The routine shuts down a server, if the server allows it.  A server can use the routine to allow or disallow remote shutdown.

Diagnostics
       This section lists status codes for errors returned by this routine in

       rrpc_$shutdown_not_allowd
	      You send an request to a server that has not issued an call.

Restrictions
       On the client side, because of the way the calls are defined and implemented in the run-time library you  must  explicitly  call  into  the
       entry  point  vector  table  for  the  interface to send an request across the network. The following is an example of a call that works as
       desired:
       (*rrpc_$client_epv.rrpc_$shutdown)(handle, &status);

       The server side stub routine calls the entry point on behalf of the client.  The results of the call are then passed back to the client.

       Before making the shutdown call, the server must have previously executed the following call:
       rpc_$allow_remote_shutdown((unsigned long) TRUE,NULL,&status);

       If the server has not allowed remote shutdown, the call returns an status code.

Files
See Also
       intro(3ncs), rpc_allow_remote_shutdown(3ncs), rpc_shutdown(3ncs)

															       rrpc_shutdown(3ncs)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A short history of UNIX by l.madden@ic.ac.uk

<h1>A short history of UNIX</h1> <p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell Laboratories, which is the research arm of the giant American corporation ATT. He and many colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
Discussion started by: Neo
0 Replies

2. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

3. Programming

How do you detect keystrokes in canonical mode?

I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
Discussion started by: Ultrix
4 Replies

4. UNIX for Dummies Questions & Answers

Linux (Ubuntu) = Unix (NOT IMPORTANT - NO RUSH)

I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu. In other words is there kind of an equal Linux with Unix? Also what do I need to... (10 Replies)
Discussion started by: Linux_Guy
10 Replies

5. IP Networking

Can I change my hostname without messing things up?

I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)
Discussion started by: Ultrix
4 Replies