# universal-libc: fix strncmp tests · gitcafe/zig

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

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

Visibility: public

Requested revision: 7a941391d86a863ab08b24d161dcad8eb047f1bd

Requested commit: 7a941391d86a863ab08b24d161dcad8eb047f1bd

Commit: 7a941391d86a863ab08b24d161dcad8eb047f1bd

Tree: 57d51469bec3b345857a4e37acb5110b33315da9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
universal-libc: fix strncmp tests

The specification for this function is that it returns a positive value,
zero, or negative value, not that it returns the difference between
ascii values.

```

## Parents

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

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