X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport.h.in;h=278176dccb2f28791939d6147aa72c0f6fdcd9c2;hb=cfa5af67fd2107c1f5c0a666826087214cb1ea4a;hp=eca21a5cf9a9a9688b227568aca8e42addff3b55;hpb=64155cba8aa1f009cbdda45becebc5f6fef52868;p=libserialport.git diff --git a/libserialport.h.in b/libserialport.h.in index eca21a5..278176d 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -95,7 +95,7 @@ enum sp_return { SP_OK = 0, /** Invalid arguments were passed to the function. */ SP_ERR_ARG = -1, - /** A system error occured while executing the operation. */ + /** A system error occurred while executing the operation. */ SP_ERR_FAIL = -2, /** A memory allocation failed while executing the operation. */ SP_ERR_MEM = -3, @@ -119,7 +119,7 @@ enum sp_event { SP_EVENT_RX_READY = 1, /* Ready to transmit new data. */ SP_EVENT_TX_READY = 2, - /* Error occured. */ + /* Error occurred. */ SP_EVENT_ERROR = 4 }; @@ -1045,7 +1045,7 @@ enum sp_return sp_nonblocking_read(struct sp_port *port, void *buf, size_t count * written. If timeout is zero, the function will always return * either the requested number of bytes or a negative error code. In * the event of an error there is no way to determine how many bytes - * were sent before the error occured. + * were sent before the error occurred. * * @since 0.1.0 */