Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/227416/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_design-44bsd/es/?format=api", "source": [ "The <emphasis>open</emphasis>, <emphasis>pipe</emphasis>, and <emphasis>socket</emphasis> system calls produce new descriptors with the lowest unused number usable for a descriptor. For pipelines to work, some mechanism must be provided to map such descriptors into 0 and 1. The <emphasis>dup</emphasis> system call creates a copy of a descriptor that points to the same file-table entry. The new descriptor is also the lowest unused one, but if the desired descriptor is closed first, <emphasis>dup</emphasis> can be used to do the desired mapping. Care is required, however: If descriptor 1 is desired, and descriptor 0 happens also to have been closed, descriptor 0 will be the result. To avoid this problem, the system provides the <emphasis>dup2</emphasis> system call; it is like <emphasis>dup</emphasis>, but it takes an additional argument specifying the number of the desired descriptor (if the desired descriptor was already open, <emphasis>dup2</emphasis> closes it before reusing it)." ], "previous_source": "", "target": [ "" ], "id_hash": -397534721569479975, "content_hash": -397534721569479975, "location": "book.translate.xml:1320", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 197, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 144, "source_unit": "https://translate-dev.freebsd.org/api/units/105043/?format=api", "priority": 100, "id": 227416, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_design-44bsd/es/?checksum=7a7bac46e6f7a2d9", "url": "https://translate-dev.freebsd.org/api/units/227416/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-14T21:38:05.992460Z" }