# std.os.windows.GetFinalPathNameByHandle: remove intermediate buffers · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c96272f6186a5e843c0586513e87ffd771c5b00c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c96272f6186a5e843c0586513e87ffd771c5b00c

Requested commit: c96272f6186a5e843c0586513e87ffd771c5b00c

Commit: c96272f6186a5e843c0586513e87ffd771c5b00c

Tree: 25da58e774494f28c44463921ba2f2387d8e3ae3

Author: Rohlem

Committer: Andrew Kelley

## Message

```
std.os.windows.GetFinalPathNameByHandle: remove intermediate buffers

... and mem.copy operations. Requires slightly larger input buffers than result length. Add helper functions std.mem.alignInBytes and std.mem.alignInSlice.

```

## Parents

- [f301a8467c0171ab603036b5b31be48fbb40e8ad](https://git.cafe/gitcafe/zig/commit/f301a8467c0171ab603036b5b31be48fbb40e8ad?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c96272f6186a5e843c0586513e87ffd771c5b00c?format=markdown)
