Lines Matching refs:buf
125 char buf[MAX_BUF_SIZE];
137 memset(buf, 0, MAX_BUF_SIZE);
138 vsprintf(buf, fmt, args);
141 fwrite(buf, sizeof(buf), 1, log);
361 struct semid_ds *buf;
442 char buf[MAX_BUF_SIZE];
446 sprintf(buf, "%lx", *data);
448 sprintf(buf, "%lx,%lx,%lx", data[0], data[1], data[2]);
459 ret=write(fd, buf, sizeof(buf));
472 char buf[MAX_BUF_SIZE];
479 read(fd, buf, MAX_BUF_SIZE);
480 *data=strtoul(buf, NULL, 16);
765 char buf[256];
766 memset(buf,0,256);
767 fgets(buf, 256, fp);
768 count=sscanf(buf, "%lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx\n",
778 count=sscanf(buf, "%lx, %lx, %lx, %lx, %lx\n",