Home
last modified time | relevance | path

Searched refs:SCM_SYSCALL (Results 1 – 25 of 58) sorted by relevance

123

/dports/lang/guile1/guile-1.8.8/libguile/
H A D_scm.h81 #ifndef SCM_SYSCALL
85 # define SCM_SYSCALL(line) do{errno = 0;line;} \ macro
91 #ifndef SCM_SYSCALL
94 # define SCM_SYSCALL(line) do{errno = 0;line;}while(EINTR==errno) macro
99 #ifndef SCM_SYSCALL
100 # define SCM_SYSCALL(line) line; macro
H A Dfilesys.c226 SCM_SYSCALL (code); \
239 SCM_SYSCALL (code); \
313 SCM_SYSCALL (rv = fchmod (fdes, scm_to_int (mode)));
444 SCM_SYSCALL (rv = close (fd));
466 SCM_SYSCALL (rv = close (c_fd));
695 SCM_SYSCALL (rv = fstat_Win32 (fdes, &stat_temp));
747 SCM_SYSCALL (rv = link (oldname, newname)); in my_rename()
750 SCM_SYSCALL (rv = unlink (oldname)); in my_rename()
753 SCM_SYSCALL (unlink (newname)); in my_rename()
1541 SCM_SYSCALL (rv = fstat_Win32 (oldfd, &oldstat));
[all …]
H A Dgc-malloc.c109 SCM_SYSCALL (ptr = realloc (mem, size)); in scm_realloc()
118 SCM_SYSCALL (ptr = realloc (mem, size)); in scm_realloc()
132 SCM_SYSCALL (ptr = realloc (mem, size)); in scm_realloc()
158 SCM_SYSCALL (ptr = calloc (sz, 1)); in scm_calloc()
H A Dposix.c215 SCM_SYSCALL (code); \
349 SCM_SYSCALL (entry = getpwent ());
418 SCM_SYSCALL (entry = getgrent ());
425 SCM_SYSCALL (entry = getgrgid (scm_to_int (name)));
560 SCM_SYSCALL (i = waitpid (scm_to_int (pid), &status, ioptions));
845 SCM_SYSCALL (result = ttyname (fd));
1164 SCM_SYSCALL (rv = tmpnam (name));
1209 SCM_SYSCALL (rv = mkstemp (c_tmpl));
1240 SCM_SYSCALL (time (&utm_tmp.actime));
1245 SCM_SYSCALL (time (&utm_tmp.modtime));
H A Drw.c143 SCM_SYSCALL (chars_read = read (fdes, dest, read_len));
254 SCM_SYSCALL (rv = write (fdes, src, write_len));
H A Dfports.c364 SCM_SYSCALL (fdes = open_or_open64 (file, flags, 0666));
600 SCM_SYSCALL (count = read (fp->fdes, pt->read_buf, pt->read_buf_size)); in fport_fill_input()
725 SCM_SYSCALL (done = write (fdes, data, remaining)); in write_all()
810 SCM_SYSCALL (count = write (fp->fdes, ptr, remaining)); in fport_flush()
883 SCM_SYSCALL (rv = close (fp->fdes)); in fport_close()
H A Dgc-segment.c99 SCM_SYSCALL (memory = (scm_t_cell * ) calloc (1, mem_needed)); in scm_i_initialize_heap_segment_data()
286 SCM_SYSCALL(scm_i_heap_segment_table = ((scm_t_heap_segment **) in scm_i_insert_segment()
H A Dsimpos.c162 SCM_SYSCALL (wait_result = waitpid (pid, &status, 0));
/dports/lang/gauche/Gauche-0.9.10/ext/net/
H A Dnet.c130 SCM_SYSCALL(sock, socket(domain, type, protocol)); in Scm_MakeSocket()
142 SCM_SYSCALL(r, shutdown(s->fd, how)); in Scm_SocketShutdown()
257 SCM_SYSCALL(r, bind(sock->fd, &addr->addr, addr->addrlen)); in Scm_SocketBind()
279 SCM_SYSCALL(r, listen(sock->fd, backlog)); in Scm_SocketListen()
378 SCM_SYSCALL(r, send(sock->fd, cmsg, size, flags)); in Scm_SocketSend()
390 SCM_SYSCALL(r, sendto(sock->fd, cmsg, size, flags, in Scm_SocketSendTo()
420 SCM_SYSCALL(r, recv(sock->fd, buf, bytes, flags)); in Scm_SocketRecv()
442 SCM_SYSCALL(r, recv(sock->fd, z, size, flags)); in Scm_SocketRecvX()
456 SCM_SYSCALL(r, recvfrom(sock->fd, buf, bytes, flags, in Scm_SocketRecvFrom()
482 SCM_SYSCALL(r, recvfrom(sock->fd, z, size, flags, in Scm_SocketRecvFromX()
[all …]
/dports/lang/gauche/Gauche-0.9.10/src/
H A Dlibsys.scm430 (SCM_SYSCALL r (remove filename))
451 (SCM_SYSCALL fd (mkstemp nam))
707 (SCM_SYSCALL r (access path F_OK))
715 (SCM_SYSCALL r (access p F_OK))
759 (SCM_SYSCALL r (times (& info)))
906 (SCM_SYSCALL r (chdir pathname))
949 (SCM_SYSCALL pid (fork))
1033 (SCM_SYSCALL SCM_RESULT (setsid))
1114 (SCM_SYSCALL r (pipe fds))
1143 (SCM_SYSCALL r (rmdir pathname))
[all …]
H A Dsystem.c560 SCM_SYSCALL(*fdp, open(templat, flags, 0600)); in create_tmpfile()
570 SCM_SYSCALL(fd, mkstemp(templat)); in Scm_Mkstemp()
597 SCM_SYSCALL(r, mkdir(templat)); in create_tmpdir()
599 SCM_SYSCALL(r, mkdir(templat, 0700)); in create_tmpdir()
895 SCM_SYSCALL(r, gettimeofday(&tv, NULL)); in Scm_GetTimeOfDay()
953 SCM_SYSCALL(r, clock_gettime(CLOCK_MONOTONIC, &ts)); in Scm_ClockGetTimeMonotonic()
994 SCM_SYSCALL(r, clock_getres(CLOCK_MONOTONIC, &ts)); in Scm_ClockGetResMonotonic()
1670 SCM_SYSCALL(pid, fork()); in Scm_SysExec()
1679 SCM_SYSCALL(pid, fork()); in Scm_SysExec()
1971 SCM_SYSCALL(r, kill(pid, signal)); in Scm_SysKill()
[all …]
/dports/lang/guile2/guile-2.2.7/libguile/
H A D_scm.h93 #ifndef SCM_SYSCALL
97 # define SCM_SYSCALL(line) \ macro
112 #ifndef SCM_SYSCALL
115 # define SCM_SYSCALL(line) \ macro
131 #ifndef SCM_SYSCALL
132 # define SCM_SYSCALL(line) line; macro
H A Dfilesys.c119 SCM_SYSCALL (code); \
132 SCM_SYSCALL (code); \
291 SCM_SYSCALL (rv = close (fd));
314 SCM_SYSCALL (rv = close (c_fd));
534 SCM_SYSCALL (rv = stat_or_stat64 (file, &stat_temp));
542 SCM_SYSCALL (rv = fstat_or_fstat64 (fdes, &stat_temp));
971 SCM_SYSCALL (rv = fcntl (fdes, scm_to_int (cmd), ivalue));
1087 SCM_SYSCALL (rv = fstat_or_fstat64 (oldfd, &oldstat));
1414 SCM_SYSCALL (rv = fchmod (fdes, scm_to_int (mode)));
1519 SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
[all …]
H A Drw.c144 SCM_SYSCALL (chars_read = read (fdes, dest, read_len));
255 SCM_SYSCALL (rv = write (fdes, src, write_len));
H A Dposix.c211 SCM_SYSCALL (code); \
350 SCM_SYSCALL (entry = getpwent ());
420 SCM_SYSCALL (entry = getgrent ());
427 SCM_SYSCALL (entry = getgrgid (scm_to_int (name)));
718 SCM_SYSCALL (i = waitpid (scm_to_int (pid), &status, ioptions));
1021 SCM_SYSCALL (result = ttyname (fd));
1531 SCM_SYSCALL (wait_result = waitpid (pid, &status, 0));
1602 SCM_SYSCALL (rv = tmpnam (name));
1672 SCM_SYSCALL (time (&atim_sec));
1691 SCM_SYSCALL (time (&mtim_sec));
H A Dsocket.c1274 SCM_SYSCALL (newfd = accept4 (fd, (struct sockaddr *) &addr, &addr_size,
1371 SCM_SYSCALL (rv = recv (fd,
1416 SCM_SYSCALL (rv = send (fd,
1494 SCM_SYSCALL (rv = recvfrom (fd,
1570 SCM_SYSCALL (rv = sendto (fd,
H A Dpoll.c132 SCM_SYSCALL (rv = poll (fds, c_nfds, c_timeout)); in scm_primitive_poll()
/dports/lang/guile/guile-3.0.7/libguile/
H A Dfilesys.c125 SCM_SYSCALL (code); \
138 SCM_SYSCALL (code); \
297 SCM_SYSCALL (rv = close (fd));
320 SCM_SYSCALL (rv = close (c_fd));
540 SCM_SYSCALL (rv = stat_or_stat64 (file, &stat_temp));
548 SCM_SYSCALL (rv = fstat_or_fstat64 (fdes, &stat_temp));
977 SCM_SYSCALL (rv = fcntl (fdes, scm_to_int (cmd), ivalue));
1093 SCM_SYSCALL (rv = fstat_or_fstat64 (oldfd, &oldstat));
1420 SCM_SYSCALL (rv = fchmod (fdes, scm_to_int (mode)));
1523 SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
[all …]
H A Drw.c149 SCM_SYSCALL (chars_read = read (fdes, dest, read_len));
260 SCM_SYSCALL (rv = write (fdes, src, write_len));
H A Dposix.c220 SCM_SYSCALL (code); \
359 SCM_SYSCALL (entry = getpwent ());
429 SCM_SYSCALL (entry = getgrent ());
436 SCM_SYSCALL (entry = getgrgid (scm_to_int (name)));
727 SCM_SYSCALL (i = waitpid (scm_to_int (pid), &status, ioptions));
1030 SCM_SYSCALL (result = ttyname (fd));
1535 SCM_SYSCALL (wait_result = waitpid (scm_to_int (pid), &status, 0));
1611 SCM_SYSCALL (rv = tmpnam (name));
1683 SCM_SYSCALL (time (&atim_sec));
1702 SCM_SYSCALL (time (&mtim_sec));
H A Dsyscalls.h27 #define SCM_SYSCALL(line) \ macro
H A Dsocket.c1289 SCM_SYSCALL (newfd = accept4 (fd, (struct sockaddr *) &addr, &addr_size,
1386 SCM_SYSCALL (rv = recv (fd,
1431 SCM_SYSCALL (rv = send (fd,
1509 SCM_SYSCALL (rv = recvfrom (fd,
1585 SCM_SYSCALL (rv = sendto (fd,
H A Dpoll.c140 SCM_SYSCALL (rv = poll (fds, c_nfds, c_timeout)); in scm_primitive_poll()
/dports/lang/gauche/Gauche-0.9.10/ext/fcntl/
H A Dfcntl.c150 SCM_SYSCALL(r, fcntl(fd, op)); in Scm_SysFcntl()
172 SCM_SYSCALL(r, fcntl(fd, op, Scm_GetInteger(arg))); in Scm_SysFcntl()
183 SCM_SYSCALL(r, fcntl(fd, op, &fl->lock)); in Scm_SysFcntl()
H A Dfcntl.scm124 (SCM_SYSCALL fd (open path flags mode))
163 (SCM_SYSCALL r (statvfs path (& (-> vfs vfs))))
173 [else (SCM_SYSCALL r (fstatvfs fd (& (-> vfs vfs))))

123