Chandan chandanlog(3C)
or sayings of an hearer
or A Blog of a Security Engineer
or The Official Online Journal of Chief Executive Prankster, Sun Microsystems Inc.,

All (Archive) | General | Solaris | Security | Art | About |
General Solaris Security Art


Non-standard C Library Functions                   chandanlog(3C)

NAME
     chandanlog - messages from Chandan's /dev/random  or a  blog 
           of the Sun Security Coordination Team Engineer  or the
           Official Online Journal of  Chief Executive Prankster,
           Sun Microsystems Inc.,

SYNOPSIS
     void chandanlog(int category, char \*message);

DESCRIPTION
     The chandanlog() function sends a message  originating  from
     Chandan's  /dev/random  depending  on the  configuration  of 
     /etc/chandanlog.conf, logs it in an appropriate system  log,
     writes it to the  system  console, forwards it to a list  of
     users, or forwards it to blog on another host over  the net.
     The  logged  message includes a message header and a message
     body. The message header consists of a datestamp, a category
     indicator icon,  a title string,  and  message  body  with a
     permanent link and an option to comment.

     Possible values of category include:

     LOG_GENERAL
           Messages generated  by  random Chandan  processes that
	   may contain information of no use to anyone.

     LOG_SOLARIS
           Messages that contain information  normally  useful to
	   the lucky geeks and blessed souls who use Solaris.

     LOG_SECURITY
           Critical conditions,  such as   security warnings, and 
	   all things secret and secure.

     LOG_ART
           Designated for messages on subjects like music, dance,
	   painting, drawing, theatre  reading,  linguistics, TV,
	   history, radio, film, video, archaeology, calligraphy,
	   nature, cartography, visual arts, poetry, photography,
	   sculpting and literature.

     LOG_ERR
           Errors.

RETURN VALUES
     Sometimes chandanlog() function returns a value of 2 cents,
     some other times it returns 2 naya paise. Often it returns no
     value. 

ERRORS
     Typos, Spelling and grammatical errors may be present.

FILES
     http://blogs.sun.com/chandan
           The human readable file of the log.
	   
     http://blogs.sun.com/roller/rss/chandan
           The machine readable version of the log in XML RSS 2.0
	   format.

EXAMPLES
     chandanlog(LOG_GENERAL, "chandanlog started");

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Architecture                | SPARC or x86 or x64         |
    |_____________________________|_____________________________|
    | Availability                |  All day long               |
    |_____________________________|_____________________________|
    | Interface Stability         | External                    |
    |_____________________________|_____________________________|
    | MT-Level                    | Unsafe                      |
    |_____________________________|_____________________________|
    | Email                       | Chandan(a)YouKnowTheDotCom  |
    |_____________________________|_____________________________|
    | Location                    | Menlo Park                  |
    |_____________________________|_____________________________|
    | Alumnus                     | csa.iisc                    |
    |_____________________________|_____________________________|

SEE ALSO
     dropsafe, casper, davew, alanc, bmc, tpenta, jimmo, peteh,
     gbrunett
     syslog(3C), standards(5), attributes(5)     
     sun, solaris, security, sec

AUTHORS
     Chandan at You Know it is Sun dot Com

ACKNOWLEDGEMENTS
     http://blogs.sun.com for hosting the blog,  numerous readers
     for their time and valuable comments and my team and friends

COPYRIGHT
     Copyright (c) 2005 by Chandan.


Copyright (c) 2005 by Chandan.