server.c

来自「test TUXEDO中间件的使用,初学用的,自己探索吧!」· C语言 代码 · 共 43 行

C
43
字号
/*	(c) 2003 BEA Systems, Inc. All Rights Reserved. *//*	Copyright (c) 1997 BEA Systems, Inc.  	All rights reserved  	THIS IS UNPUBLISHED PROPRIETARY  	SOURCE CODE OF BEA Systems, Inc.  	The copyright notice above does not  	evidence any actual or intended  	publication of such source code.*//*      Copyright (c) 1992 USL        All rights reserved        THIS IS UNPUBLISHED PROPRIETARY        SOURCE CODE OF USL        The copyright notice above does not        evidence any actual or intended        publication of such source code.*//* #ident	"@(#) samples/atmi/qsample/server.c	$Revision: 1.5 $" */#include <stdio.h>#include <ctype.h>#include "atmi.h"STRING(msg)TPSVCINFO *msg;{	char *str;	int i;	/* set pointer to data portion of message */	str = (char *)msg->data;	/* convert string to upper case */	for (i = 0; i < msg->len; i++) {		str[i] = toupper(str[i]);	}	tpreturn(TPSUCCESS, 0, msg->data, 0L, 0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?