Annotation of researchv10no/cmd/cfront/libC/iostream/sbuf.dbp.c, revision 1.1

1.1     ! root        1: /*ident        "@(#)ctrans:lib/stream/sbuf.dbp.c       1.1.2.1" */
        !             2: /**************************************************************************
        !             3:                        Copyright (c) 1984 AT&T
        !             4:                          All Rights Reserved   
        !             5: 
        !             6:        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
        !             7:        
        !             8:        The copyright notice above does not evidence any        
        !             9:        actual or intended publication of such source code.
        !            10: 
        !            11: sbuf.dbp.c
        !            12: 
        !            13: *****************************************************************************/
        !            14: 
        !            15: 
        !            16: #include <iostream.h>
        !            17: #include <stdio.h>
        !            18: #include <string.h>
        !            19: #include <osfcn.h>
        !            20: 
        !            21: void streambuf::dbp()
        !            22: {
        !            23:        char msg[256] ;
        !            24:        sprintf(msg,"buf at %#x, base=%#x, ebuf=%#x, ",
        !            25:                                this, base(), ebuf());
        !            26:        write(1,msg,strlen(msg)) ;
        !            27:        sprintf(msg,"pptr=%#x, epptr=%#x, ", pptr(),epptr() );
        !            28:        write(1,msg,strlen(msg)) ;
        !            29:        sprintf(msg,"eback=%#x, gptr=%#x, egptr=%#x\n",
        !            30:                        eback(), gptr(), egptr() ) ;
        !            31:        write(1,msg,strlen(msg)) ;
        !            32: 
        !            33: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.