yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
send_buff.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012, YumaWorks, Inc., All Rights Reserved.
4 *
5 * Unless required by applicable law or agreed to in writing,
6 * software distributed under the License is distributed on an
7 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations
10 * under the License.
11 */
12#ifndef _H_send_buff
13#define _H_send_buff
14/* FILE: send_buff.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
26/*********************************************************************
27* *
28* C H A N G E H I S T O R Y *
29* *
30*********************************************************************
31
32date init comment
33----------------------------------------------------------------------
3420-jan-07 abb begun
35*/
36
37#include <stdlib.h>
38
39#ifndef _H_status
40#include "status.h"
41#endif
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47/********************************************************************
48* *
49* C O N S T A N T S *
50* *
51*********************************************************************/
52
53
54/********************************************************************
55* *
56* F U N C T I O N S *
57* *
58*********************************************************************/
59
77extern status_t
78 send_buff (int fd,
79 const char *buffer,
80 size_t cnt);
81
82
86#ifdef __cplusplus
87} /* end extern 'C' */
88#endif
89
90#endif /* _H_send_buff */
status_t
global error return code
Definition: status_enum.h:210
status_t send_buff(int fd, const char *buffer, size_t cnt)
Send the buffer to the network peer.
Definition: send_buff.c:94
Global error messages for status code enumerations.