| ... | ... | @@ -1467,42 +1467,6 @@ | 
| 1467 | 1467 |      (declare (type unix-fd fd))
 | 
| 1468 | 1468 |      (call-stat "unix_fstat" int fd)))
 | 
| 1469 | 1469 |  
 | 
| 1470 |  | -;;; 64-bit versions of stat and friends
 | 
| 1471 |  | -#+solaris
 | 
| 1472 |  | -(progn
 | 
| 1473 |  | -(defun unix-stat (name)
 | 
| 1474 |  | -  _N"Unix-stat retrieves information about the specified
 | 
| 1475 |  | -   file returning them in the form of multiple values.
 | 
| 1476 |  | -   See the UNIX Programmer's Manual for a description
 | 
| 1477 |  | -   of the values returned.  If the call fails, then NIL
 | 
| 1478 |  | -   and an error number is returned instead."
 | 
| 1479 |  | -  (declare (type unix-pathname name))
 | 
| 1480 |  | -  (when (string= name "")
 | 
| 1481 |  | -    (setf name "."))
 | 
| 1482 |  | -  (with-alien ((buf (struct stat64)))
 | 
| 1483 |  | -    (syscall ("stat64" c-string (* (struct stat64)))
 | 
| 1484 |  | -	     (extract-stat-results buf)
 | 
| 1485 |  | -	     (%name->file name) (addr buf))))
 | 
| 1486 |  | -
 | 
| 1487 |  | -(defun unix-lstat (name)
 | 
| 1488 |  | -  _N"Unix-lstat is similar to unix-stat except the specified
 | 
| 1489 |  | -   file must be a symbolic link."
 | 
| 1490 |  | -  (declare (type unix-pathname name))
 | 
| 1491 |  | -  (with-alien ((buf (struct stat64)))
 | 
| 1492 |  | -    (syscall ("lstat64" c-string (* (struct stat64)))
 | 
| 1493 |  | -	     (extract-stat-results buf)
 | 
| 1494 |  | -	     (%name->file name) (addr buf))))
 | 
| 1495 |  | -
 | 
| 1496 |  | -(defun unix-fstat (fd)
 | 
| 1497 |  | -  _N"Unix-fstat is similar to unix-stat except the file is specified
 | 
| 1498 |  | -   by the file descriptor fd."
 | 
| 1499 |  | -  (declare (type unix-fd fd))
 | 
| 1500 |  | -  (with-alien ((buf (struct stat64)))
 | 
| 1501 |  | -    (syscall ("fstat64" int (* (struct stat64)))
 | 
| 1502 |  | -	     (extract-stat-results buf)
 | 
| 1503 |  | -	     fd (addr buf))))
 | 
| 1504 |  | -)
 | 
| 1505 |  | -
 | 
| 1506 | 1470 |  (def-alien-type nil
 | 
| 1507 | 1471 |    (struct rusage
 | 
| 1508 | 1472 |      (ru-utime (struct timeval))		; user time used
 |