1742 |
ret = get_errno(utime((const char *)arg1, tbuf1)); |
ret = get_errno(utime((const char *)arg1, tbuf1)); |
1743 |
} |
} |
1744 |
break; |
break; |
1745 |
|
case TARGET_NR_utimes: |
1746 |
|
{ |
1747 |
|
struct target_timeval *target_tvp = (struct target_timeval *)arg2; |
1748 |
|
struct timeval *tvp, tv[2]; |
1749 |
|
if (target_tvp) { |
1750 |
|
target_to_host_timeval(&tv[0], &target_tvp[0]); |
1751 |
|
target_to_host_timeval(&tv[1], &target_tvp[1]); |
1752 |
|
tvp = tv; |
1753 |
|
} else { |
1754 |
|
tvp = NULL; |
1755 |
|
} |
1756 |
|
ret = get_errno(utimes((const char *)arg1, tvp)); |
1757 |
|
} |
1758 |
|
break; |
1759 |
#ifdef TARGET_NR_stty |
#ifdef TARGET_NR_stty |
1760 |
case TARGET_NR_stty: |
case TARGET_NR_stty: |
1761 |
goto unimplemented; |
goto unimplemented; |