[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

2179.0. "On-line help typos" by JOBIM::VUJNOVIC (I�t�r��t���l�z�t��L���l�z�t��) Tue May 06 1997 08:57

$ HELP CC Socket_Routines send 

gives: 

CC
  Socket_Routines
    send

           Sends bytes though a socket to its connected peer.
                       ^^^^^^
           Syntax:

                #include <types.h>
                #include <socket.h>

                int send(int s, char *msg, int len, int flags);

CC
  Socket_Routines
    sendmsg

           Sends gathered bytes throgh a socket to any other socket.
                                ^^^^^^
           Syntax:

                #include <types.h>
                #include <socket.h>

                int sendmsg(int s, struct msghdr msg[],  int flags);

CC
  Socket_Routines
    sendto

           Sends bytes through a socket to any other socket.
                       *BINGO*
           Syntax:

                #include <types.h>
                #include <socket.h>

                int sendto(int s, char *msg, int len, int flags, struct
                              sockaddr *to, int tolen);

CC Socket_Routines Subtopic?

2 out of 3, not bad :-)

Regards,
Slobodan
T.RTitleUserPersonal
Name
DateLines
2179.1DECC::VMCCUTCHEONTue May 06 1997 10:015
thank you for pointing this out.
We will correct it in the version
of DEC C following V5.6.

--val
2179.2Here's another: nl_langinofXDELTA::HOFFMANSteve, OpenVMS EngineeringTue May 06 1997 15:5518
CC

  Run-time_functions

    nl_langinof

       Returns a pointer to a string that contains information obtained
       from the program's current locale.

       Syntax:

            #include <langinfo.h>

            char *nl_langinfo (nl_item item);


CC Run-time_functions Subtopic?

2179.3and another: both rtn names need up-casingXDELTA::HOFFMANSteve, OpenVMS EngineeringTue May 06 1997 18:3318
CC

  Run-time_functions

    vaxc$crtl_init

       Allows you to call the DEC C RTL from other languages.  It
       initializes the run-time environment and establishes both an exit
       and condition handler.  vaxc$crtl_init is a synonym for
       decc$crtl_init.  Either name invokes the same routine.

       Syntax:

            #include <signal.h>

            void vaxc$crtl_init();


2179.4Typos fixedTLE::PAOLILLODTN: 381-1352Mon May 12 1997 12:226
    Thanks for the feedback.  
    
    I've corrected the typos and uppercased VAXC$CRTL_INIT and DECC$CRTL_INIT
    in the DEC C help source file. 
    
    -jp