#include #include int l3_write( char *b, int n); int l3_read( char *b, int n); int l4_write_string(char *s) { char a[10]; memset(a,0,10); return(l3_write(a,6)); } int l4_read_string(char *s, int max) { int res; res=l3_read(s,max); return(res); } int l4_write_estring(char *s) { int i; char buf[1000]; if (strlen(s)>998) { return(-1); } for (i=0;imax) return(-1); if (buf[len-1]!=0) return(-1); for (i=0;i