File: esock_write.c

package info (click to toggle)
xgdipc 1.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 248 kB
  • ctags: 128
  • sloc: ansic: 801; sh: 175; makefile: 118
file content (9 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#include "extreme.h"

int esock_write(int sockfd, char *buf) {
   int put;
   put = write(sockfd, buf, strlen(buf));

   return(put);

}